Class PositionalDamage
java.lang.Object
net.minestom.server.entity.damage.Damage
net.minestom.server.entity.damage.PositionalDamage
- All Implemented Interfaces:
Taggable, TagReadable, TagWritable
Represents damage that is associated with a certain position.
-
Constructor Summary
ConstructorsConstructorDescriptionPositionalDamage(RegistryKey<DamageType> type, Point sourcePosition, float amount) -
Method Summary
Methods inherited from class Damage
buildDeathMessage, buildDeathScreenText, fromEntity, fromPlayer, fromPosition, fromProjectile, getAmount, getAttacker, getGenericSound, getPlayerSound, getSound, getSource, getSourcePosition, getType, getTypeId, setAmount, tagHandlerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Taggable
getAndSetTag, getAndUpdateTag, getTag, hasTag, removeTag, setTag, updateAndGetTag, updateTag
-
Constructor Details
-
PositionalDamage
-