... | @@ -12,10 +12,12 @@ You can also use `Type: ARMOR_STAND` to use Armor Stands instead |
... | @@ -12,10 +12,12 @@ You can also use `Type: ARMOR_STAND` to use Armor Stands instead |
|
|
|
|
|
<!-- TABLE OF CONTENTS -->
|
|
<!-- TABLE OF CONTENTS -->
|
|
<!-- I am perfectly aware of the [[_TOC_]] shortcut, but in this instance it is not ideal -->
|
|
<!-- I am perfectly aware of the [[_TOC_]] shortcut, but in this instance it is not ideal -->
|
|
|
|
<!-- Ok loser 🙄 -->
|
|
- [Furniture Options](#furniture-options)
|
|
- [Furniture Options](#furniture-options)
|
|
- [Base Options](#base-options)
|
|
- [Base Options](#base-options)
|
|
- [Type-Specific Options](#type-specific-options)
|
|
- [Type-Specific Options](#type-specific-options)
|
|
- [Drops](#drops)
|
|
- [Drops](#drops)
|
|
|
|
- [Furniture Skills](#furniture-skills)
|
|
- [Furniture States](#furniture-states)
|
|
- [Furniture States](#furniture-states)
|
|
- [Examples](#examples)
|
|
- [Examples](#examples)
|
|
|
|
|
... | @@ -215,6 +217,18 @@ By default the furniture will drop itself when broken if there is no Drops field |
... | @@ -215,6 +217,18 @@ By default the furniture will drop itself when broken if there is no Drops field |
|
- oak_log 2
|
|
- oak_log 2
|
|
```
|
|
```
|
|
|
|
|
|
|
|
## Furniture Skills
|
|
|
|
|
|
|
|
Furniture can have skills that run when the furniture is interacted with while its placed, these skills act very similarly to Mob skills. You can use [Furniture Triggers](/Skills/Triggers#furniture-triggers) along with most targeters. The caster of the skill is the furniture itself.
|
|
|
|
```yaml
|
|
|
|
FurnitureSkills:
|
|
|
|
- sound{s=entity.chicken.egg} @self ~onBlockPlace
|
|
|
|
- sound{s=entity.chicken.egg} @self ~onInteract
|
|
|
|
- sound{s=entity.zombie.break_wooden_door} @self ~onBlockBreak
|
|
|
|
- sound{s=block.lever.click} @self ~onBlockRotate
|
|
|
|
- sound{s=entity.zombie.attack_wooden_door} @self ~onDamaged
|
|
|
|
```
|
|
|
|
|
|
## Furniture States
|
|
## Furniture States
|
|
|
|
|
|
Furniture States are other states that furniture can be swapped into using the [`SetFurnitureState`](/Skills/Mechanics/setfurniturestate) mechanic.
|
|
Furniture States are other states that furniture can be swapped into using the [`SetFurnitureState`](/Skills/Mechanics/setfurniturestate) mechanic.
|
... | | ... | |