Class WolfVariants
java.lang.Object
net.minecraft.world.entity.animal.WolfVariants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> static final ResourceKey
<WolfVariant> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
bootstrap
(BootstrapContext<WolfVariant> pContext) private static ResourceKey
<WolfVariant> static Holder
<WolfVariant> getSpawnVariant
(RegistryAccess pRegistryAccess, Holder<Biome> pBiome) (package private) static void
register
(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, HolderSet<Biome> pSpawnBiomes) (package private) static void
register
(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, ResourceKey<Biome> pSpawnBiome) (package private) static void
register
(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, TagKey<Biome> pSpawnBiomes)
-
Field Details
-
PALE
-
SPOTTED
-
SNOWY
-
BLACK
-
ASHEN
-
RUSTY
-
WOODS
-
CHESTNUT
-
STRIPED
-
DEFAULT
-
-
Constructor Details
-
WolfVariants
public WolfVariants()
-
-
Method Details
-
createKey
-
register
static void register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, ResourceKey<Biome> pSpawnBiome) -
register
static void register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, TagKey<Biome> pSpawnBiomes) -
register
static void register(BootstrapContext<WolfVariant> pContext, ResourceKey<WolfVariant> pKey, String pName, HolderSet<Biome> pSpawnBiomes) -
getSpawnVariant
public static Holder<WolfVariant> getSpawnVariant(RegistryAccess pRegistryAccess, Holder<Biome> pBiome) -
bootstrap
-