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> pContext) private static ResourceKey<WolfSoundVariant> createKey(WolfSoundVariants.SoundSet pSoundSet) static Holder<WolfSoundVariant> pickRandomSoundVariant(RegistryAccess pRegistryAccess, RandomSource pRandom) private static voidregister(BootstrapContext<WolfSoundVariant> pContext, ResourceKey<WolfSoundVariant> pKey, WolfSoundVariants.SoundSet pSoundSet)
-
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> pContext, ResourceKey<WolfSoundVariant> pKey, WolfSoundVariants.SoundSet pSoundSet) -
pickRandomSoundVariant
public static Holder<WolfSoundVariant> pickRandomSoundVariant(RegistryAccess pRegistryAccess, RandomSource pRandom)
-