net.minecraft.world.entity.animal.axolotl

public enum Axolotl$Variant

implements StringRepresentable

cil$e
net.minecraft.world.entity.animal.axolotl.Axolotl$Variant
net.minecraft.class_5762$class_5767
net.minecraft.entity.passive.AxolotlEntity$Variant
net.minecraft.world.entity.animal.axolotl.Axolotl$Variant

Enum constant summary

Enum Constant
a
LUCY
field_28341
LUCY
b
WILD
field_28342
WILD
c
GOLD
field_28343
GOLD
d
CYAN
field_28344
CYAN
e
BLUE
field_28345
BLUE

Field summary

Modifier and TypeField
private static final IntFunction<Axolotl$Variant>
g
BY_ID
field_28346
BY_ID
public static final com.mojang.serialization.Codec<Axolotl$Variant>
f
CODEC
field_41585
CODEC
private final int
h
id
field_28347
id
private final String
i
name
field_28348
name
private final boolean
j
common
field_28349
natural

Constructor summary

ModifierConstructor
private (int arg0, String arg1, boolean id)

Method summary

Modifier and TypeMethod
public int
a()
getId()
method_33233()
getId()
public String
b()
getName()
method_33238()
getName()
public String
c()
getSerializedName()
method_15434()
asString()
public static Axolotl$Variant
a(int arg0)
byId(int arg0)
method_47928(int arg0)
byId(int id)
public static Axolotl$Variant
a(azh arg0)
getCommonSpawnVariant(RandomSource arg0)
method_33235(class_5819 arg0)
getRandomNatural(Random random)
public static Axolotl$Variant
b(azh arg0)
getRareSpawnVariant(RandomSource arg0)
method_33240(class_5819 arg0)
getRandomUnnatural(Random random)
private static Axolotl$Variant
a(azh arg0, boolean arg1)
getSpawnVariant(RandomSource arg0, boolean arg1)
method_33236(class_5819 arg0, boolean arg1)
getRandom(Random random, boolean natural)