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.getSoundVolume(@Nullable SoundCategory category) private floatSoundSystem.method_43222(float float2, SoundCategory soundCategory) 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, AbstractRandom abstractRandom) protectedAbstractSoundInstance(Identifier soundId, SoundCategory category, AbstractRandom abstractRandom) EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity, long long2) protectedMovingSoundInstance(SoundEvent sound, SoundCategory category, AbstractRandom abstractRandom) privatePositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, double double2, double double3, double double4) PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, BlockPos blockPos) PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, AbstractRandom abstractRandom, boolean bool, int int2, SoundInstance.AttenuationType attenuationType, double double2, double double3, double double4, boolean bool2) -
Uses of SoundCategory in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type SoundCategoryModifier and TypeMethodDescriptionprivate voidClientWorld.method_43207(double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3, boolean bool, long long2) voidClientWorld.playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance) voidClientWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long long2) 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 long2) -
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 TypeMethodDescriptionvoidHorseBaseEntity.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 long2) PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, long long2) PlaySoundS2CPacket(SoundEvent sound, SoundCategory category, double x, double y, double z, float volume, float pitch, long long2) 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 long2) voidServerWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long long2) -
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 TypeMethodDescriptionvoidWorld.method_43128(@Nullable PlayerEntity playerEntity, double double2, double double3, double double4, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3) voidWorld.method_43129(@Nullable PlayerEntity playerEntity, Entity entity, SoundEvent soundEvent, SoundCategory soundCategory, float float2, float float3) voidChunkRegion.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) abstract voidWorld.playSound(@Nullable PlayerEntity except, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, long long2) 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) abstract voidWorld.playSoundFromEntity(@Nullable PlayerEntity except, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch, long long2)