ItemsAdderAdditionsItemsAdderAdditions
Gedrag

Contactschade

Veroorzaak schade aan spelers die een aangepast ItemsAdder-blok of -meubel aanraken. Configureerbare schadehoeveelheid, cooldown en potioneffecten zoals gif of verdorring.

Since v1.0.0
behaviours:
  contact_damage:
    amount: 1.0
    interval: 10 # optioneel, standaard: 20 ticks
    fire_duration: 60 # optioneel, standaard: 0 ticks
    damage_when_sneaking: false # optioneel, standaard: true
    block_faces: # optioneel
      top: true # optioneel, standaard: true
      north: false # optioneel, standaard: true
      south: false # optioneel, standaard: true
      west: false # optioneel, standaard: true
      east: false # optioneel, standaard: true
    potion_effect: # optioneel
      type: NAUSEA
      amplifier: 0 # optioneel, standaard: 0 (0 = niveau 1)
      duration: 200 # optioneel, standaard: 40 ticks
      ambient: false # optioneel, standaard: false
      particles: false # optioneel, standaard: true
      icon: false # optioneel, standaard: true
    # Voeg een ander effect toe
    potion_effect_1:
      ...

Gebruik voor type een waarde uit PotionEffectType.