Class CatSoundVariants
java.lang.Object
net.minecraft.world.entity.animal.feline.CatSoundVariants
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ResourceKey<CatSoundVariant> static final ResourceKey<CatSoundVariant> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidbootstrap(BootstrapContext<CatSoundVariant> context) private static ResourceKey<CatSoundVariant> createKey(CatSoundVariants.SoundSet catSoundVariant) static Holder<CatSoundVariant> pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random) private static voidregister(BootstrapContext<CatSoundVariant> context, ResourceKey<CatSoundVariant> key, CatSoundVariants.SoundSet CatSoundVariant)
-
Field Details
-
CLASSIC
-
ROYAL
-
-
Constructor Details
-
CatSoundVariants
public CatSoundVariants()
-
-
Method Details
-
createKey
-
bootstrap
-
register
private static void register(BootstrapContext<CatSoundVariant> context, ResourceKey<CatSoundVariant> key, CatSoundVariants.SoundSet CatSoundVariant) -
pickRandomSoundVariant
public static Holder<CatSoundVariant> pickRandomSoundVariant(RegistryAccess registryAccess, RandomSource random)
-