net.minecraft.world.entity.animal

public class PigVariants

cjh
net.minecraft.world.entity.animal.PigVariants
net.minecraft.class_10588
net.minecraft.entity.passive.PigVariants

Field summary

Modifier and TypeField
public static final ResourceKey<PigVariant>
a
TEMPERATE
field_55696
TEMPERATE
public static final ResourceKey<PigVariant>
b
WARM
field_55697
WARM
public static final ResourceKey<PigVariant>
c
COLD
field_55698
COLD
public static final ResourceKey<PigVariant>
d
DEFAULT
field_55699
DEFAULT

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
private static ResourceKey<PigVariant>
a(ale arg0)
createKey(ResourceLocation arg0)
method_66315(class_2960 arg0)
of(Identifier arg0)
public static void
a(qh<cjg> arg0)
bootstrap(BootstrapContext<PigVariant> arg0)
method_66318(class_7891<class_10586> arg0)
bootstrap(Registerable<PigVariant> registry)
private static void
a(qh<cjg> arg0, ald<cjg> arg1, cjg$a arg2, String arg3, axp<djs> arg4)
register(BootstrapContext<PigVariant> arg0, ResourceKey<PigVariant> arg1, PigVariant$ModelType arg2, String arg3, TagKey<Biome> arg4)
method_66319(class_7891<class_10586> arg0, class_5321<class_10586> arg1, class_10586$class_10587 arg2, String arg3, class_6862<class_1959> arg4)
register(Registerable<PigVariant> registry, RegistryKey<PigVariant> key, PigVariant$Model model, String textureName, TagKey<Biome> biomes)
private static void
a(qh<cjg> arg0, ald<cjg> arg1, cjg$a arg2, String arg3, csy arg4)
register(BootstrapContext<PigVariant> arg0, ResourceKey<PigVariant> arg1, PigVariant$ModelType arg2, String arg3, SpawnPrioritySelectors arg4)
method_66320(class_7891<class_10586> arg0, class_5321<class_10586> arg1, class_10586$class_10587 arg2, String arg3, class_10702 arg4)
register(Registerable<PigVariant> registry, RegistryKey<PigVariant> key, PigVariant$Model model, String textureName, class_10702 arg4)
public static Optional<Holder$Reference<PigVariant>>
a(azt arg0, js arg1, csx arg2)
selectVariantToSpawn(RandomSource arg0, RegistryAccess arg1, SpawnContext arg2)
method_66314(class_5819 arg0, class_5455 arg1, class_10701 arg2)
fromBiome(Random arg0, DynamicRegistryManager registries, class_10701 arg2)