Package net.minestom.server.entity
Class Metadata
java.lang.Object
net.minestom.server.entity.Metadata
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
static final byte
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Metadata.Entry
<ArmadilloMeta.State> static Metadata.Entry
<Point> BlockPosition
(@NotNull Point value) static Metadata.Entry
<Block> BlockState
(@NotNull Block value) static Metadata.Entry
<Boolean> Boolean
(boolean value) static Metadata.Entry
<Byte> Byte
(byte value) static Metadata.Entry
<CatMeta.Variant> CatVariant
(CatMeta.Variant value) static Metadata.Entry
<Component> static Metadata.Entry
<Direction> static Metadata.Entry
<Float> Float
(float value) static Metadata.Entry
<FrogMeta.Variant> FrogVariant
(FrogMeta.Variant value) static Metadata.Entry
<ItemStack> static Metadata.Entry
<net.kyori.adventure.nbt.BinaryTag> NBT
(@NotNull net.kyori.adventure.nbt.BinaryTag nbt) static Metadata.Entry
<Point> OptBlockPosition
(@Nullable Point value) static Metadata.Entry
<Integer> OptBlockState
(@Nullable Integer value) static Metadata.Entry
<Component> static Metadata.Entry
<UUID> static Metadata.Entry
<Integer> static Metadata.Entry
<Particle> static Metadata.Entry
<List<Particle>> ParticleList
(@NotNull List<Particle> particles) static Metadata.Entry
<EntityPose> Pose
(@NotNull EntityPose value) static Metadata.Entry
<float[]> Quaternion
(float @NotNull [] value) static Metadata.Entry
<Point> static Metadata.Entry
<SnifferMeta.State> SnifferState
(SnifferMeta.State value) static Metadata.Entry
<String> static Metadata.Entry
<Integer> VarInt
(int value) static Metadata.Entry
<Long> VarLong
(long value) static Metadata.Entry
<Point> static Metadata.Entry
<int[]> VillagerData
(int[] data) static Metadata.Entry
<int[]> VillagerData
(int villagerType, int villagerProfession, int level)
-
Field Details
-
TYPE_BYTE
public static final byte TYPE_BYTE -
TYPE_VARINT
public static final byte TYPE_VARINT -
TYPE_LONG
public static final byte TYPE_LONG -
TYPE_FLOAT
public static final byte TYPE_FLOAT -
TYPE_STRING
public static final byte TYPE_STRING -
TYPE_CHAT
public static final byte TYPE_CHAT -
TYPE_OPT_CHAT
public static final byte TYPE_OPT_CHAT -
TYPE_ITEM_STACK
public static final byte TYPE_ITEM_STACK -
TYPE_BOOLEAN
public static final byte TYPE_BOOLEAN -
TYPE_ROTATION
public static final byte TYPE_ROTATION -
TYPE_BLOCK_POSITION
public static final byte TYPE_BLOCK_POSITION -
TYPE_OPT_BLOCK_POSITION
public static final byte TYPE_OPT_BLOCK_POSITION -
TYPE_DIRECTION
public static final byte TYPE_DIRECTION -
TYPE_OPT_UUID
public static final byte TYPE_OPT_UUID -
TYPE_BLOCKSTATE
public static final byte TYPE_BLOCKSTATE -
TYPE_OPT_BLOCKSTATE
public static final byte TYPE_OPT_BLOCKSTATE -
TYPE_NBT
public static final byte TYPE_NBT -
TYPE_PARTICLE
public static final byte TYPE_PARTICLE -
TYPE_PARTICLE_LIST
public static final byte TYPE_PARTICLE_LIST -
TYPE_VILLAGERDATA
public static final byte TYPE_VILLAGERDATA -
TYPE_OPT_VARINT
public static final byte TYPE_OPT_VARINT -
TYPE_POSE
public static final byte TYPE_POSE -
TYPE_CAT_VARIANT
public static final byte TYPE_CAT_VARIANT -
TYPE_WOLF_VARIANT
public static final byte TYPE_WOLF_VARIANT -
TYPE_FROG_VARIANT
public static final byte TYPE_FROG_VARIANT -
TYPE_OPT_GLOBAL_POSITION
public static final byte TYPE_OPT_GLOBAL_POSITION -
TYPE_PAINTING_VARIANT
public static final byte TYPE_PAINTING_VARIANT -
TYPE_SNIFFER_STATE
public static final byte TYPE_SNIFFER_STATE -
TYPE_ARMADILLO_STATE
public static final byte TYPE_ARMADILLO_STATE -
TYPE_VECTOR3
public static final byte TYPE_VECTOR3 -
TYPE_QUATERNION
public static final byte TYPE_QUATERNION
-
-
Constructor Details
-
Metadata
public Metadata()
-
-
Method Details
-
Byte
-
VarInt
-
VarLong
-
Float
-
String
-
Chat
-
OptChat
-
ItemStack
-
Boolean
-
Rotation
-
BlockPosition
-
OptBlockPosition
-
Direction
-
OptUUID
-
BlockState
-
OptBlockState
-
NBT
public static Metadata.Entry<net.kyori.adventure.nbt.BinaryTag> NBT(@NotNull @NotNull net.kyori.adventure.nbt.BinaryTag nbt) -
Particle
-
ParticleList
public static Metadata.Entry<List<Particle>> ParticleList(@NotNull @NotNull List<Particle> particles) -
VillagerData
-
VillagerData
public static Metadata.Entry<int[]> VillagerData(int villagerType, int villagerProfession, int level) -
OptVarInt
-
Pose
-
CatVariant
-
WolfVariant
public static Metadata.Entry<DynamicRegistry.Key<WolfMeta.Variant>> WolfVariant(@NotNull DynamicRegistry.Key<WolfMeta.Variant> value) -
FrogVariant
-
PaintingVariant
public static Metadata.Entry<DynamicRegistry.Key<PaintingMeta.Variant>> PaintingVariant(@NotNull DynamicRegistry.Key<PaintingMeta.Variant> value) -
SnifferState
-
ArmadilloState
public static Metadata.Entry<ArmadilloMeta.State> ArmadilloState(@NotNull ArmadilloMeta.State value) -
Vector3
-
Quaternion
-