Class WolfSoundVariants
java.lang.Object
net.minecraft.world.entity.animal.wolf.WolfSoundVariants
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> static final ResourceKey<WolfSoundVariant> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbootstrap(BootstrapContext<WolfSoundVariant> context) private static ResourceKey<WolfSoundVariant> createKey(WolfSoundVariants.SoundSet soundSet) static Holder<WolfSoundVariant> pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) private static voidregister(BootstrapContext<WolfSoundVariant> context, ResourceKey<WolfSoundVariant> key, WolfSoundVariants.SoundSet soundSet)
-
Field Details
-
CLASSIC
-
PUGLIN
-
SAD
-
ANGRY
-
GRUMPY
-
BIG
-
CUTE
-
-
Constructor Details
-
WolfSoundVariants
public WolfSoundVariants()
-
-
Method Details
-
createKey
-
bootstrap
-
register
private static void register(BootstrapContext<WolfSoundVariant> context, ResourceKey<WolfSoundVariant> key, WolfSoundVariants.SoundSet soundSet) -
pickRandomSoundVariant
public static Holder<WolfSoundVariant> pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random)
-