Interface DamageType
- All Superinterfaces:
net.kyori.adventure.key.Keyed
,ProtocolObject
,StaticProtocolObject
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
static final DamageType
-
Method Summary
Modifier and TypeMethodDescriptionorg.jglrxavpok.hephaistos.nbt.NBTCompound
asNBT()
default double
static @Nullable DamageType
fromId
(int id) static DamageType
fromNamespaceId
(@NotNull String namespaceID) static DamageType
fromNamespaceId
(@NotNull NamespaceID namespaceID) static org.jglrxavpok.hephaistos.nbt.NBTCompound
getNBT()
default String
default @NotNull NamespaceID
registry()
Returns the damage type registry.default String
scaling()
static @NotNull Collection
<@NotNull DamageType> values()
Methods inherited from interface net.minestom.server.registry.ProtocolObject
key, name
Methods inherited from interface net.minestom.server.registry.StaticProtocolObject
id
-
Field Details
-
WITHER
-
SONIC_BOOM
-
WITHER_SKULL
-
DRY_OUT
-
TRIDENT
-
ON_FIRE
-
FALL
-
MOB_ATTACK
-
MOB_PROJECTILE
-
THROWN
-
FALLING_STALACTITE
-
FIREBALL
-
FALLING_BLOCK
-
PLAYER_EXPLOSION
-
STING
-
UNATTRIBUTED_FIREBALL
-
IN_WALL
-
IN_FIRE
-
ARROW
-
HOT_FLOOR
-
DROWN
-
STARVE
-
GENERIC_KILL
-
DRAGON_BREATH
-
MOB_ATTACK_NO_AGGRO
-
LAVA
-
OUTSIDE_BORDER
-
FLY_INTO_WALL
-
LIGHTNING_BOLT
-
PLAYER_ATTACK
-
FREEZE
-
FALLING_ANVIL
-
OUT_OF_WORLD
-
MAGIC
-
SWEET_BERRY_BUSH
-
FIREWORKS
-
EXPLOSION
-
BAD_RESPAWN_POINT
-
STALAGMITE
-
THORNS
-
INDIRECT_MAGIC
-
CRAMMING
-
CACTUS
-
GENERIC
-
-
Method Details
-
registry
Returns the damage type registry.- Returns:
- the damage type registry
-
namespace
- Specified by:
namespace
in interfaceProtocolObject
-
exhaustion
default double exhaustion() -
messageId
-
scaling
-
asNBT
org.jglrxavpok.hephaistos.nbt.NBTCompound asNBT() -
values
-
fromNamespaceId
-
fromNamespaceId
-
fromId
-
getNBT
static org.jglrxavpok.hephaistos.nbt.NBTCompound getNBT()
-