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> context) private static ResourceKey
<WolfVariant> static Holder
<WolfVariant> getSpawnVariant
(RegistryAccess registryAccess, Holder<Biome> biome) (package private) static void
register
(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, HolderSet<Biome> spawnBiomes) (package private) static void
register
(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, ResourceKey<Biome> spawnBiome) (package private) static void
register
(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, TagKey<Biome> spawnBiomes)
-
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> context, ResourceKey<WolfVariant> key, String name, ResourceKey<Biome> spawnBiome) -
register
static void register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, TagKey<Biome> spawnBiomes) -
register
static void register(BootstrapContext<WolfVariant> context, ResourceKey<WolfVariant> key, String name, HolderSet<Biome> spawnBiomes) -
getSpawnVariant
public static Holder<WolfVariant> getSpawnVariant(RegistryAccess registryAccess, Holder<Biome> biome) -
bootstrap
-