Modifier and Type | Field and Description |
---|---|
private java.util.Map<SoundCategory,java.lang.Float> |
GameSettings.soundLevels |
Modifier and Type | Method and Description |
---|---|
float |
GameSettings.getSoundLevel(SoundCategory category) |
void |
GameSettings.setSoundLevel(SoundCategory category,
float volume) |
Modifier and Type | Field and Description |
---|---|
protected SoundCategory |
LocatableSound.category |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.Multimap<SoundCategory,ISound> |
SoundEngine.field_217943_n |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
ISound.getCategory() |
SoundCategory |
LocatableSound.getCategory() |
Modifier and Type | Method and Description |
---|---|
private float |
SoundEngine.getVolume(SoundCategory category) |
void |
SoundHandler.setSoundLevel(SoundCategory category,
float volume) |
void |
SoundEngine.setVolume(SoundCategory category,
float volume) |
void |
SoundEngine.stop(ResourceLocation soundName,
SoundCategory category) |
void |
SoundHandler.stop(ResourceLocation id,
SoundCategory category) |
Constructor and Description |
---|
BeeSound(BeeEntity p_i226060_1_,
SoundEvent p_i226060_2_,
SoundCategory p_i226060_3_) |
EntityTickableSound(SoundEvent p_i50898_1_,
SoundCategory p_i50898_2_,
Entity p_i50898_3_) |
EntityTickableSound(SoundEvent p_i50899_1_,
SoundCategory p_i50899_2_,
float p_i50899_3_,
float p_i50899_4_,
Entity p_i50899_5_) |
LocatableSound(ResourceLocation soundId,
SoundCategory categoryIn) |
LocatableSound(SoundEvent soundIn,
SoundCategory categoryIn) |
SimpleSound(ResourceLocation soundIdIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn,
boolean globalIn) |
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
BlockPos pos) |
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
SimpleSound(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
float xIn,
float yIn,
float zIn) |
TickableSound(SoundEvent soundIn,
SoundCategory categoryIn) |
Modifier and Type | Method and Description |
---|---|
void |
ClientPlayerEntity.playSound(SoundEvent p_213823_1_,
SoundCategory p_213823_2_,
float p_213823_3_,
float p_213823_4_) |
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
SoundSlider.category |
Constructor and Description |
---|
SoundSlider(Minecraft p_i51127_1_,
int p_i51127_2_,
int p_i51127_3_,
SoundCategory category,
int p_i51127_5_) |
Modifier and Type | Method and Description |
---|---|
void |
ClientWorld.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
ClientWorld.playSound(BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
ClientWorld.playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
ClientWorld.playSound(PlayerEntity player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
private static com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSource> |
PlaySoundCommand.buildCategorySubcommand(SoundCategory category) |
private static int |
PlaySoundCommand.playSound(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
ResourceLocation soundIn,
SoundCategory category,
Vec3d pos,
float volume,
float pitch,
float minVolume) |
private static int |
StopSoundCommand.stopSound(CommandSource source,
java.util.Collection<ServerPlayerEntity> targets,
SoundCategory category,
ResourceLocation soundIn) |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
Entity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EnderDragonEntity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
LightningBoltEntity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
ShulkerEntity.getSoundCategory() |
SoundCategory |
PhantomEntity.getSoundCategory() |
SoundCategory |
GhastEntity.getSoundCategory() |
SoundCategory |
MonsterEntity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
RabbitEntity.getSoundCategory() |
SoundCategory |
ParrotEntity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
PlayerEntity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
void |
PlayerEntity.playSound(SoundEvent p_213823_1_,
SoundCategory p_213823_2_,
float p_213823_3_,
float p_213823_4_) |
void |
ServerPlayerEntity.playSound(SoundEvent p_213823_1_,
SoundCategory p_213823_2_,
float p_213823_3_,
float p_213823_4_) |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
ShulkerBulletEntity.getSoundCategory() |
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
SStopSoundPacket.category |
private SoundCategory |
SPlaySoundPacket.category |
private SoundCategory |
SPlaySoundEffectPacket.category |
private SoundCategory |
SSpawnMovingSoundEffectPacket.field_218766_b |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
SSpawnMovingSoundEffectPacket.func_218760_c() |
SoundCategory |
SStopSoundPacket.getCategory() |
SoundCategory |
SPlaySoundPacket.getCategory() |
SoundCategory |
SPlaySoundEffectPacket.getCategory() |
Constructor and Description |
---|
SPlaySoundEffectPacket(SoundEvent soundIn,
SoundCategory categoryIn,
double xIn,
double yIn,
double zIn,
float volumeIn,
float pitchIn) |
SPlaySoundPacket(ResourceLocation p_i47939_1_,
SoundCategory p_i47939_2_,
Vec3d p_i47939_3_,
float p_i47939_4_,
float p_i47939_5_) |
SSpawnMovingSoundEffectPacket(SoundEvent p_i50763_1_,
SoundCategory p_i50763_2_,
Entity p_i50763_3_,
float p_i50763_4_,
float p_i50763_5_) |
SStopSoundPacket(ResourceLocation p_i47929_1_,
SoundCategory p_i47929_2_) |
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<java.lang.String,SoundCategory> |
SoundCategory.SOUND_CATEGORIES |
Modifier and Type | Method and Description |
---|---|
static SoundCategory |
SoundCategory.valueOf(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
abstract void |
World.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
World.playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
IWorld.playSound(PlayerEntity player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
World.playSound(PlayerEntity player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
abstract void |
World.playSound(PlayerEntity player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
void |
WorldGenRegion.playSound(PlayerEntity player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
void |
ServerWorld.playMovingSound(PlayerEntity playerIn,
Entity entityIn,
SoundEvent eventIn,
SoundCategory categoryIn,
float volume,
float pitch) |
void |
ServerWorld.playSound(PlayerEntity player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
static PlaySoundAtEntityEvent |
ForgeEventFactory.onPlaySoundAtEntity(Entity entity,
SoundEvent name,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
PlaySoundAtEntityEvent.category |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
PlaySoundAtEntityEvent.getCategory() |
Modifier and Type | Method and Description |
---|---|
void |
PlaySoundAtEntityEvent.setCategory(SoundCategory category) |
Constructor and Description |
---|
PlaySoundAtEntityEvent(Entity entity,
SoundEvent name,
SoundCategory category,
float volume,
float pitch) |