Modding:Json Block Behaviors: Difference between revisions

From Vintage Story Wiki
no edit summary
(Created page with "{| class="wikitable" |- ! Behavior Name !! Additional Properties !! Detail link |- | HorizontalAttachable || handleDrops (bool, default: true) || Json_block_behaviors_horizo...")
 
No edit summary
Line 31: Line 31:
| Ignitable || none || [[Json_block_behaviors_ignitable|Ignitable]]
| Ignitable || none || [[Json_block_behaviors_ignitable|Ignitable]]
|-
|-
| UnstableFalling || none || [[Json_block_behaviors_Unstable_Falling| Unstable Falling]]
| UnstableFalling || none || [[Json_block_behaviors_UnstableFalling| Unstable Falling]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| BreakIfFloating || none || [[Json_block_behaviors_BreakIfFloating| Break if Floating]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| CanIgnite || none || [[Json_block_behaviors_CanIgnite|Can Ignite]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| ExchangeOnInteract || exchangeStates (string array of block states) <br> sounds (path from sounds folder) || [[Json_block_behaviors_ExchangeOnInteract|Exchange On Interact]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| OmniRotatable || rotateH (bool, default: false) <br> rotateV (bool, default: false) <br> rotatev4 (bool, default: false) <br> rotateSides (bool, default: false) <br> facing (string)|| [[Json_block_behaviors_OmniRotatable|Omni-Rotatable]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| Ladder || dropBlockFace (face direction, Default: north)|| [[Json_block_behaviors_Ladder|Ladder]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| PushEventOnBlockBroken || string EventName || [[Json_block_behaviors_PushEventOnBlockBroken|Push Event on Block Broken]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| RightClickPickup || none || [[Json_block_behaviors_RightClickPickup|Right Click Pickup]]
|-
|-
| Example || Example || [[Json_block_behaviors_
| SneakPlacing || none || [[Json_block_behaviors_SneakPlacing|Sneak Placing]]
|}
|}
42

edits