| Modifier and Type | Method and Description |
|---|---|
MetadataType<?> |
MinecraftCodecHelper.readMetadataType(io.netty.buffer.ByteBuf buf) |
| Modifier and Type | Method and Description |
|---|---|
void |
MinecraftCodecHelper.writeMetadataType(io.netty.buffer.ByteBuf buf,
MetadataType<?> type) |
| Modifier and Type | Class and Description |
|---|---|
class |
EntityMetadata<V,T extends MetadataType<V>> |
| Modifier and Type | Class and Description |
|---|---|
class |
BooleanMetadataType |
class |
ByteMetadataType |
class |
FloatMetadataType |
class |
IntMetadataType |
class |
LongMetadataType |
class |
OptionalIntMetadataType |
| Modifier and Type | Field and Description |
|---|---|
static MetadataType<net.kyori.adventure.text.Component> |
MetadataType.CHAT |
static MetadataType<Direction> |
MetadataType.DIRECTION |
static MetadataType<ItemStack> |
MetadataType.ITEM |
static MetadataType<com.github.steveice10.opennbt.tag.builtin.CompoundTag> |
MetadataType.NBT_TAG |
static MetadataType<Optional<net.kyori.adventure.text.Component>> |
MetadataType.OPTIONAL_CHAT |
static MetadataType<Optional<GlobalPos>> |
MetadataType.OPTIONAL_GLOBAL_POS |
static MetadataType<Optional<org.cloudburstmc.math.vector.Vector3i>> |
MetadataType.OPTIONAL_POSITION |
static MetadataType<Optional<UUID>> |
MetadataType.OPTIONAL_UUID |
static MetadataType<PaintingType> |
MetadataType.PAINTING_VARIANT |
static MetadataType<Particle> |
MetadataType.PARTICLE |
static MetadataType<Pose> |
MetadataType.POSE |
static MetadataType<org.cloudburstmc.math.vector.Vector3i> |
MetadataType.POSITION |
static MetadataType<org.cloudburstmc.math.vector.Vector4f> |
MetadataType.QUATERNION |
static MetadataType<org.cloudburstmc.math.vector.Vector3f> |
MetadataType.ROTATION |
static MetadataType<SnifferState> |
MetadataType.SNIFFER_STATE |
static MetadataType<String> |
MetadataType.STRING |
static MetadataType<org.cloudburstmc.math.vector.Vector3f> |
MetadataType.VECTOR3 |
static MetadataType<VillagerData> |
MetadataType.VILLAGER_DATA |
| Modifier and Type | Method and Description |
|---|---|
static MetadataType<?> |
MetadataType.from(int id) |
static MetadataType<?> |
MetadataType.read(io.netty.buffer.ByteBuf in,
MinecraftCodecHelper helper) |
| Modifier and Type | Method and Description |
|---|---|
EntityMetadata<V,? extends MetadataType<V>> |
MetadataType.EntityMetadataFactory.create(int id,
MetadataType<V> type,
V value) |
EntityMetadata<T,? extends MetadataType<T>> |
MetadataType.readMetadata(MinecraftCodecHelper helper,
io.netty.buffer.ByteBuf input,
int id) |
| Modifier and Type | Method and Description |
|---|---|
default EntityMetadata<Boolean,BooleanMetadataType> |
BooleanMetadataType.BooleanEntityMetadataFactory.create(int id,
MetadataType<Boolean> type,
Boolean value)
Deprecated.
|
default EntityMetadata<Byte,ByteMetadataType> |
ByteMetadataType.ByteEntityMetadataFactory.create(int id,
MetadataType<Byte> type,
Byte value)
Deprecated.
|
default EntityMetadata<Float,FloatMetadataType> |
FloatMetadataType.FloatEntityMetadataFactory.create(int id,
MetadataType<Float> type,
Float value)
Deprecated.
|
default EntityMetadata<Integer,IntMetadataType> |
IntMetadataType.IntEntityMetadataFactory.create(int id,
MetadataType<Integer> type,
Integer value)
Deprecated.
|
default EntityMetadata<Long,LongMetadataType> |
LongMetadataType.LongEntityMetadataFactory.create(int id,
MetadataType<Long> type,
Long value)
Deprecated.
|
EntityMetadata<V,? extends MetadataType<V>> |
MetadataType.EntityMetadataFactory.create(int id,
MetadataType<V> type,
V value) |
| Constructor and Description |
|---|
ObjectEntityMetadata(int id,
@NonNull MetadataType<T> type,
T value) |
Copyright © 2023. All rights reserved.