Uses of Enum Class
net.minecraft.sound.SoundCategory
Packages that use SoundCategory
Package
Description
-
Uses of SoundCategory in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget declared as SoundCategoryConstructors in net.minecraft.client.gui.widget with parameters of type SoundCategoryModifierConstructorDescriptionSoundSliderWidget(MinecraftClient client, int x, int y, SoundCategory category, int width) -
Uses of SoundCategory in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidClientPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.client.option
Fields in net.minecraft.client.option with type parameters of type SoundCategoryModifier and TypeFieldDescriptionprivate final Object2FloatMap<SoundCategory>GameOptions.soundVolumeLevelsMethods in net.minecraft.client.option with parameters of type SoundCategoryModifier and TypeMethodDescriptionfloatGameOptions.getSoundVolume(SoundCategory category) voidGameOptions.setSoundVolume(SoundCategory category, float volume) -
Uses of SoundCategory in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as SoundCategoryFields in net.minecraft.client.sound with type parameters of type SoundCategoryModifier and TypeFieldDescriptionprivate final Multimap<SoundCategory,SoundInstance> SoundSystem.soundsMethods in net.minecraft.client.sound that return SoundCategoryModifier and TypeMethodDescriptionAbstractSoundInstance.getCategory()SoundInstance.getCategory()Methods in net.minecraft.client.sound with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate floatSoundSystem.getAdjustedVolume(float volume, SoundCategory category) private floatSoundSystem.getSoundVolume(@Nullable SoundCategory category) voidSoundManager.stopSounds(@Nullable Identifier id, @Nullable SoundCategory soundCategory) voidSoundSystem.stopSounds(@Nullable Identifier id, @Nullable SoundCategory category) voidSoundManager.updateSoundVolume(SoundCategory category, float volume) voidSoundSystem.updateSoundVolume(SoundCategory category, float volume) Constructors in net.minecraft.client.sound with parameters of type SoundCategoryModifierConstructorDescriptionAbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory) protectedAbstractSoundInstance(SoundEvent sound, SoundCategory category, Random random) protectedAbstractSoundInstance(Identifier soundId, SoundCategory category, Random random) EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long seed) protectedMovingSoundInstance(SoundEvent sound, SoundCategory category, Random random) privatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, double x, double y, double z) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Random random, BlockPos pos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, Random random, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean relative) -
Uses of SoundCategory in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidClientWorld.playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) private voidClientWorld.playSound(double x, double y, double z, SoundEvent event, SoundCategory category, float volume, float pitch, boolean useDistance, long seed) voidClientWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) voidClientWorld.playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidClientWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.entity
Methods in net.minecraft.entity that return SoundCategoryModifier and TypeMethodDescriptionEntity.getSoundCategory()ExperienceOrbEntity.getSoundCategory()ItemEntity.getSoundCategory()LightningEntity.getSoundCategory()Methods in net.minecraft.entity with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidSaddleable.saddle(@Nullable SoundCategory sound) voidShearable.sheared(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return SoundCategory -
Uses of SoundCategory in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return SoundCategoryModifier and TypeMethodDescriptionGhastEntity.getSoundCategory()HoglinEntity.getSoundCategory()HostileEntity.getSoundCategory()PhantomEntity.getSoundCategory()ShulkerEntity.getSoundCategory() -
Uses of SoundCategory in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return SoundCategoryModifier and TypeMethodDescriptionParrotEntity.getSoundCategory()RabbitEntity.getSoundCategory()Methods in net.minecraft.entity.passive with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidAbstractHorseEntity.saddle(@Nullable SoundCategory sound) voidPigEntity.saddle(@Nullable SoundCategory sound) voidStriderEntity.saddle(@Nullable SoundCategory sound) voidMooshroomEntity.sheared(SoundCategory shearedSoundCategory) voidSheepEntity.sheared(SoundCategory shearedSoundCategory) voidSnowGolemEntity.sheared(SoundCategory shearedSoundCategory) -
Uses of SoundCategory in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return SoundCategoryMethods in net.minecraft.entity.player with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.entity.projectile
Methods in net.minecraft.entity.projectile that return SoundCategory -
Uses of SoundCategory in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as SoundCategoryModifier and TypeFieldDescriptionprivate final SoundCategoryPlaySoundFromEntityS2CPacket.categoryprivate final SoundCategoryPlaySoundIdS2CPacket.categoryprivate final SoundCategoryPlaySoundS2CPacket.categoryprivate final @Nullable SoundCategoryStopSoundS2CPacket.categoryMethods in net.minecraft.network.packet.s2c.play that return SoundCategoryModifier and TypeMethodDescriptionPlaySoundFromEntityS2CPacket.getCategory()PlaySoundIdS2CPacket.getCategory()PlaySoundS2CPacket.getCategory()StopSoundS2CPacket.getCategory()Constructors in net.minecraft.network.packet.s2c.play with parameters of type SoundCategoryModifierConstructorDescriptionPlaySoundFromEntityS2CPacket(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch, long seed) PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, long seed) PlaySoundS2CPacket(SoundEvent sound, SoundCategory category, double x, double y, double z, float volume, float pitch, long seed) StopSoundS2CPacket(@Nullable Identifier soundId, @Nullable SoundCategory category) -
Uses of SoundCategory in net.minecraft.server.command
Methods in net.minecraft.server.command with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate static intPlaySoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume) private static intStopSoundCommand.execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, @Nullable SoundCategory category, @Nullable Identifier sound) private static com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>PlaySoundCommand.makeArgumentsForCategory(SoundCategory category) -
Uses of SoundCategory in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidServerPlayerEntity.playSound(SoundEvent event, SoundCategory category, float volume, float pitch) -
Uses of SoundCategory in net.minecraft.server.world
Methods in net.minecraft.server.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidServerWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) voidServerWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) -
Uses of SoundCategory in net.minecraft.sound
Methods in net.minecraft.sound that return SoundCategoryModifier and TypeMethodDescriptionstatic SoundCategoryReturns the enum constant of this class with the specified name.static SoundCategory[]SoundCategory.values()Returns an array containing the constants of this enum class, in the order they are declared. -
Uses of SoundCategory in net.minecraft.world
Methods in net.minecraft.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionvoidChunkRegion.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidWorld.playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract voidWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed) voidWorld.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorldAccess.playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch) voidWorld.playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch) abstract voidWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long seed)