net.minecraft.component.type

public enum AttributeModifiersComponent$Display$Type

implements StringIdentifiable

net.minecraft.world.item.component.ItemAttributeModifiers$Display$Type
net.minecraft.class_9285$class_11193$class_11197
net.minecraft.component.type.AttributeModifiersComponent$Display$Type

Enum constant summary

Enum Constant
DEFAULT
field_59739
DEFAULT
HIDDEN
field_59740
HIDDEN
OVERRIDE
field_59741
OVERRIDE

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<AttributeModifiersComponent$Display$Type>
CODEC
field_59742
CODEC
private static final IntFunction<AttributeModifiersComponent$Display$Type>
BY_ID
field_59743
INDEX_MAPPER
private static final PacketCodec<io.netty.buffer.ByteBuf, AttributeModifiersComponent$Display$Type>
STREAM_CODEC
field_59744
PACKET_CODEC
private final String
name
field_59745
id
private final int
id
field_59746
index
private final com.mojang.serialization.MapCodec<? extends AttributeModifiersComponent$Display>
codec
field_59747
codec
private final PacketCodec<RegistryByteBuf, ? extends AttributeModifiersComponent$Display>
streamCodec
field_59748
packetCodec
private static final AttributeModifiersComponent$Display$Type[]
$VALUES
field_59749
field_59749

Constructor summary

ModifierConstructor
private (String $enum$name, int $enum$ordinal, com.mojang.serialization.MapCodec<? extends AttributeModifiersComponent$Display> id, PacketCodec<RegistryByteBuf, ? extends AttributeModifiersComponent$Display> index)

Method summary

Modifier and TypeMethod
public String
getSerializedName()
method_15434()
asString()
private int
id()
method_70736()
getIndex()
private PacketCodec<RegistryByteBuf, ? extends AttributeModifiersComponent$Display>
streamCodec()
method_70737()
getPacketCodec()
private static AttributeModifiersComponent$Display$Type[]
$values()
method_70738()
method_70738()