Package net.frozenblock.lib.entity.api
Class WolfVariantBiomeRegistry
java.lang.Object
net.frozenblock.lib.entity.api.WolfVariantBiomeRegistry
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Optional<net.minecraft.world.entity.animal.WolfVariant> get(@NotNull net.minecraft.core.RegistryAccess registryManager, net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome) static @NotNull Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.entity.animal.WolfVariant>> get(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome) static voidregister(@NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, @NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.entity.animal.WolfVariant> wolfVariant)
-
Constructor Details
-
WolfVariantBiomeRegistry
public WolfVariantBiomeRegistry()
-
-
Method Details
-
register
public static void register(@NotNull @NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, @NotNull @NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.entity.animal.WolfVariant> wolfVariant) -
get
@NotNull public static @NotNull Optional<net.minecraft.resources.ResourceKey<net.minecraft.world.entity.animal.WolfVariant>> get(net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome) -
get
@NotNull public static @NotNull Optional<net.minecraft.world.entity.animal.WolfVariant> get(@NotNull @NotNull net.minecraft.core.RegistryAccess registryManager, net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome)
-