Class WolfVariantBiomeRegistry

java.lang.Object
net.frozenblock.lib.entity.api.WolfVariantBiomeRegistry

public class WolfVariantBiomeRegistry extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static @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 void
    register(@NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.level.biome.Biome> biome, @NotNull net.minecraft.resources.ResourceKey<net.minecraft.world.entity.animal.WolfVariant> wolfVariant)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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)