Package net.minestom.server.entity
Class MetadataDef
java.lang.Object
net.minestom.server.entity.MetadataDef
- Direct Known Subclasses:
MetadataDef.AbstractArrow
,MetadataDef.AbstractVehicle
,MetadataDef.AreaEffectCloud
,MetadataDef.Display
,MetadataDef.EndCrystal
,MetadataDef.EyeOfEnder
,MetadataDef.FallingBlock
,MetadataDef.Fireball
,MetadataDef.FireworkRocketEntity
,MetadataDef.FishingHook
,MetadataDef.Interaction
,MetadataDef.ItemEntity
,MetadataDef.ItemFrame
,MetadataDef.LivingEntity
,MetadataDef.OminousItemSpawner
,MetadataDef.Painting
,MetadataDef.SmartFireball
,MetadataDef.ThrownItemProjectile
,MetadataDef.WitherSkull
public sealed class MetadataDef
extends Object
permits MetadataDef.Interaction, MetadataDef.Display, MetadataDef.ThrownItemProjectile, MetadataDef.EyeOfEnder, MetadataDef.FallingBlock, MetadataDef.AreaEffectCloud, MetadataDef.FishingHook, MetadataDef.AbstractArrow, MetadataDef.AbstractVehicle, MetadataDef.EndCrystal, MetadataDef.SmartFireball, MetadataDef.Fireball, MetadataDef.WitherSkull, MetadataDef.FireworkRocketEntity, MetadataDef.ItemFrame, MetadataDef.Painting, MetadataDef.ItemEntity, MetadataDef.LivingEntity, MetadataDef.OminousItemSpawner
List of all entity metadata.
Classes must be used (and not interfaces) to enforce loading order.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
static class
static class
static class
static class
static final class
static final class
static final class
static final class
static final class
static final class
static class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static class
static final class
static final class
static class
static final class
static final class
static final class
static final class
static interface
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static class
static final class
static final class
static final class
static class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
static final class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final MetadataDef.Entry
<Integer> static final MetadataDef.Entry
<@Nullable Component> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Byte> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<Boolean> static final MetadataDef.Entry
<EntityPose> static final MetadataDef.Entry
<Integer> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends MetadataDef>
intGet the number of metadata entries for a specific class.
-
Field Details
-
ENTITY_FLAGS
-
IS_ON_FIRE
-
IS_CROUCHING
-
IS_SPRINTING
-
IS_SWIMMING
-
IS_INVISIBLE
-
HAS_GLOWING_EFFECT
-
IS_FLYING_WITH_ELYTRA
-
AIR_TICKS
-
CUSTOM_NAME
-
CUSTOM_NAME_VISIBLE
-
IS_SILENT
-
HAS_NO_GRAVITY
-
POSE
-
TICKS_FROZEN
-
-
Constructor Details
-
MetadataDef
public MetadataDef()
-
-
Method Details
-
count
Get the number of metadata entries for a specific class.Useful if you want to pre-allocate the metadata array.
-