Behaviours
Contact Damage
Make ItemsAdder custom blocks and furniture deal damage to players that touch them. Configure damage amount, tick interval, and optional potion effects like poison or wither - all in your existing YML.
behaviours:
contact_damage:
amount: 1.0
interval: 10 # Optional (Default value: 20) - Value in ticks (20 ticks = 1 second)
fire_duration: 60 # Optional (Default value: 0) - Value in ticks (20 ticks = 1 second)
damage_when_sneaking: false # Optional (Default value: true)
block_faces: # Optional
top: true # Optional (Default value: true)
north: false # Optional (Default value: true)
south: false # Optional (Default value: true)
west: false # Optional (Default value: true)
east: false # Optional (Default value: true)
potion_effect: # Optional
type: NAUSEA
amplifier: 0 # Optional (Default value: 1) - Amplifier 0 = Level 1
duration: 200 # Optional (Default value: 40) - Value in ticks (20 ticks = 1 second)
ambient: false # Optional (Default value: false) - Makes particles more translucent
particles: false # Optional (Default value: true) - Whether to show particles
icon: false # Optional (Default value: true) - Whether to show the icon on screen
# Add another effect
potion_effect_1:
...For type, refer to this list for the value.
Connectable
Make ItemsAdder custom blocks automatically change their shape when placed next to matching blocks. Create connected stairs, tables, fences, and more - like vanilla Minecraft but for your custom blocks.
Stackable
Allow ItemsAdder custom blocks to stack on top of each other. Define which blocks can stack together and set stacking limits - configured inside your existing YML item definitions.