Class PositionalDamage

java.lang.Object
net.minestom.server.entity.damage.Damage
net.minestom.server.entity.damage.PositionalDamage
All Implemented Interfaces:
Taggable, TagReadable, TagWritable

public class PositionalDamage extends Damage
Represents damage that is associated with a certain position.
  • Constructor Details

    • PositionalDamage

      public PositionalDamage(@NotNull @NotNull RegistryKey<DamageType> type, @NotNull @NotNull Point sourcePosition, float amount)