Uses of Class
net.minecraft.sound.SoundCategory
-
Uses of SoundCategory in net.minecraft.client.gui.widget
Fields in net.minecraft.client.gui.widget declared as SoundCategory Modifier and Type Field Description private SoundCategory
SoundSliderWidget. category
Constructors in net.minecraft.client.gui.widget with parameters of type SoundCategory Constructor Description SoundSliderWidget(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 SoundCategory Modifier and Type Method Description void
ClientPlayerEntity. 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 SoundCategory Modifier and Type Field Description private Object2FloatMap<SoundCategory>
GameOptions. soundVolumeLevels
Methods in net.minecraft.client.option with parameters of type SoundCategory Modifier and Type Method Description float
GameOptions. getSoundVolume(SoundCategory category)
void
GameOptions. setSoundVolume(SoundCategory category, float volume)
-
Uses of SoundCategory in net.minecraft.client.sound
Fields in net.minecraft.client.sound declared as SoundCategory Modifier and Type Field Description protected SoundCategory
AbstractSoundInstance. category
Fields in net.minecraft.client.sound with type parameters of type SoundCategory Modifier and Type Field Description private Multimap<SoundCategory,SoundInstance>
SoundSystem. sounds
Methods in net.minecraft.client.sound that return SoundCategory Modifier and Type Method Description SoundCategory
AbstractSoundInstance. getCategory()
SoundCategory
SoundInstance. getCategory()
Methods in net.minecraft.client.sound with parameters of type SoundCategory Modifier and Type Method Description private float
SoundSystem. getSoundVolume(@Nullable SoundCategory soundCategory)
void
SoundManager. stopSounds(@Nullable Identifier id, @Nullable SoundCategory soundCategory)
void
SoundSystem. stopSounds(@Nullable Identifier identifier, @Nullable SoundCategory soundCategory)
void
SoundManager. updateSoundVolume(SoundCategory category, float volume)
void
SoundSystem. updateSoundVolume(SoundCategory soundCategory, float volume)
Constructors in net.minecraft.client.sound with parameters of type SoundCategory Constructor Description AbstractBeeSoundInstance(BeeEntity entity, SoundEvent sound, SoundCategory soundCategory)
AbstractSoundInstance(SoundEvent sound, SoundCategory category)
AbstractSoundInstance(Identifier soundId, SoundCategory category)
EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, Entity entity)
EntityTrackingSoundInstance(SoundEvent sound, SoundCategory category, Entity entity)
MovingSoundInstance(SoundEvent sound, SoundCategory category)
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z)
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, double x, double y, double z)
PositionedSoundInstance(SoundEvent sound, SoundCategory category, float volume, float pitch, BlockPos pos)
PositionedSoundInstance(Identifier id, SoundCategory category, float volume, float pitch, boolean repeat, int repeatDelay, SoundInstance.AttenuationType attenuationType, double x, double y, double z, boolean looping)
-
Uses of SoundCategory in net.minecraft.client.world
Methods in net.minecraft.client.world with parameters of type SoundCategory Modifier and Type Method Description void
ClientWorld. playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
void
ClientWorld. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
ClientWorld. playSound(BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
void
ClientWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)
-
Uses of SoundCategory in net.minecraft.entity
Methods in net.minecraft.entity that return SoundCategory Modifier and Type Method Description SoundCategory
Entity. getSoundCategory()
SoundCategory
ExperienceOrbEntity. getSoundCategory()
SoundCategory
ItemEntity. getSoundCategory()
SoundCategory
LightningEntity. getSoundCategory()
Methods in net.minecraft.entity with parameters of type SoundCategory Modifier and Type Method Description void
Saddleable. saddle(@Nullable SoundCategory sound)
void
Shearable. sheared(SoundCategory shearedSoundCategory)
-
Uses of SoundCategory in net.minecraft.entity.boss.dragon
Methods in net.minecraft.entity.boss.dragon that return SoundCategory Modifier and Type Method Description SoundCategory
EnderDragonEntity. getSoundCategory()
-
Uses of SoundCategory in net.minecraft.entity.mob
Methods in net.minecraft.entity.mob that return SoundCategory Modifier and Type Method Description SoundCategory
GhastEntity. getSoundCategory()
SoundCategory
HoglinEntity. getSoundCategory()
SoundCategory
HostileEntity. getSoundCategory()
SoundCategory
PhantomEntity. getSoundCategory()
SoundCategory
ShulkerEntity. getSoundCategory()
-
Uses of SoundCategory in net.minecraft.entity.passive
Methods in net.minecraft.entity.passive that return SoundCategory Modifier and Type Method Description SoundCategory
ParrotEntity. getSoundCategory()
SoundCategory
RabbitEntity. getSoundCategory()
Methods in net.minecraft.entity.passive with parameters of type SoundCategory Modifier and Type Method Description void
HorseBaseEntity. saddle(@Nullable SoundCategory sound)
void
PigEntity. saddle(@Nullable SoundCategory sound)
void
StriderEntity. saddle(@Nullable SoundCategory sound)
void
MooshroomEntity. sheared(SoundCategory shearedSoundCategory)
void
SheepEntity. sheared(SoundCategory shearedSoundCategory)
void
SnowGolemEntity. sheared(SoundCategory shearedSoundCategory)
-
Uses of SoundCategory in net.minecraft.entity.player
Methods in net.minecraft.entity.player that return SoundCategory Modifier and Type Method Description SoundCategory
PlayerEntity. getSoundCategory()
Methods in net.minecraft.entity.player with parameters of type SoundCategory Modifier and Type Method Description void
PlayerEntity. 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 Modifier and Type Method Description SoundCategory
ShulkerBulletEntity. getSoundCategory()
-
Uses of SoundCategory in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as SoundCategory Modifier and Type Field Description private SoundCategory
PlaySoundFromEntityS2CPacket. category
private SoundCategory
PlaySoundIdS2CPacket. category
private SoundCategory
PlaySoundS2CPacket. category
private @Nullable SoundCategory
StopSoundS2CPacket. category
Methods in net.minecraft.network.packet.s2c.play that return SoundCategory Modifier and Type Method Description SoundCategory
PlaySoundFromEntityS2CPacket. getCategory()
SoundCategory
PlaySoundIdS2CPacket. getCategory()
SoundCategory
PlaySoundS2CPacket. getCategory()
@Nullable SoundCategory
StopSoundS2CPacket. getCategory()
Constructors in net.minecraft.network.packet.s2c.play with parameters of type SoundCategory Constructor Description PlaySoundFromEntityS2CPacket(SoundEvent sound, SoundCategory category, Entity entity, float volume, float pitch)
PlaySoundIdS2CPacket(Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch)
PlaySoundS2CPacket(SoundEvent sound, SoundCategory category, double x, double y, double z, float volume, float pitch)
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 SoundCategory Modifier and Type Method Description private static int
PlaySoundCommand. execute(ServerCommandSource source, Collection<ServerPlayerEntity> targets, Identifier sound, SoundCategory category, Vec3d pos, float volume, float pitch, float minVolume)
private static int
StopSoundCommand. 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 SoundCategory Modifier and Type Method Description void
ServerPlayerEntity. 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 SoundCategory Modifier and Type Method Description void
ServerWorld. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
ServerWorld. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)
-
Uses of SoundCategory in net.minecraft.sound
Methods in net.minecraft.sound that return SoundCategory Modifier and Type Method Description static SoundCategory
SoundCategory. valueOf(String name)
Returns the enum constant of this type with the specified name.static SoundCategory[]
SoundCategory. values()
Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of SoundCategory in net.minecraft.world
Methods in net.minecraft.world with parameters of type SoundCategory Modifier and Type Method Description void
ChunkRegion. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
World. playSound(double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch, boolean useDistance)
abstract void
World. playSound(@Nullable PlayerEntity player, double x, double y, double z, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
World. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
void
WorldAccess. playSound(@Nullable PlayerEntity player, BlockPos pos, SoundEvent sound, SoundCategory category, float volume, float pitch)
abstract void
World. playSoundFromEntity(@Nullable PlayerEntity player, Entity entity, SoundEvent sound, SoundCategory category, float volume, float pitch)