net.minecraft.world.entity.animal

public enum Fox$Variant

implements StringRepresentable

chj$v
net.minecraft.world.entity.animal.Fox$Variant
net.minecraft.class_4019$class_4039
net.minecraft.entity.passive.FoxEntity$Type
net.minecraft.world.entity.animal.EntityFox$Type

Enum constant summary

Enum Constant
a
RED
field_17996
RED
b
SNOW
field_17997
SNOW

Field summary

Modifier and TypeField
public static final StringRepresentable$EnumCodec<Fox$Variant>
c
CODEC
field_41548
CODEC
private static final IntFunction<Fox$Variant>
d
BY_ID
field_17998
BY_ID
private final int
e
id
field_18000
id
private final String
f
name
field_18001
key

Constructor summary

ModifierConstructor
private (int arg0, String arg1)

Method summary

Modifier and TypeMethod
public String
c()
getSerializedName()
method_15434()
asString()
public int
a()
getId()
method_18317()
getId()
public static Fox$Variant
a(String arg0)
byName(String arg0)
method_18314(String arg0)
byName(String name)
public static Fox$Variant
a(int arg0)
byId(int arg0)
method_18311(int arg0)
fromId(int id)
public static Fox$Variant
a(jr<dhl> arg0)
byBiome(Holder<Biome> arg0)
method_18313(class_6880<class_1959> arg0)
fromBiome(RegistryEntry<Biome> biome)