net.minecraft.world.entity.animal

public enum MushroomCow$Variant

implements StringRepresentable

cjb$a
net.minecraft.world.entity.animal.MushroomCow$Variant
net.minecraft.class_1438$class_4053
net.minecraft.entity.passive.MooshroomEntity$Variant

Enum constant summary

Enum Constant
a
RED
field_18109
RED
b
BROWN
field_18110
BROWN

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<MushroomCow$Variant>
c
CODEC
field_41549
CODEC
private static final IntFunction<MushroomCow$Variant>
e
BY_ID
field_55963
INDEX_MAPPER
public static final StreamCodec<io.netty.buffer.ByteBuf, MushroomCow$Variant>
d
STREAM_CODEC
field_55962
PACKET_CODEC
private final String
f
type
field_18111
name
final int
g
id
field_55964
index
private final BlockState
h
blockState
field_18112
mushroom

Constructor summary

ModifierConstructor
private (String arg0, int arg1, BlockState name)

Method summary

Modifier and TypeMethod
public BlockState
a()
getBlockState()
method_18437()
getMushroomState()
public String
c()
getSerializedName()
method_15434()
asString()
private int
b()
id()
method_66678()
getIndex()
static MushroomCow$Variant
a(String arg0)
byName(String arg0)
method_18441(String arg0)
fromName(String name)
static MushroomCow$Variant
a(int arg0)
byId(int arg0)
method_66677(int arg0)
fromIndex(int index)