Modifier and Type | Field and Description |
---|---|
protected SoundCategory |
PositionedSound.category |
Modifier and Type | Field and Description |
---|---|
private com.google.common.collect.Multimap<SoundCategory,java.lang.String> |
SoundManager.categorySounds |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
ISound.getCategory() |
SoundCategory |
PositionedSound.getCategory() |
Modifier and Type | Method and Description |
---|---|
private float |
SoundManager.getVolume(SoundCategory category) |
void |
SoundHandler.setSoundLevel(SoundCategory category,
float volume) |
void |
SoundManager.setVolume(SoundCategory category,
float volume) |
void |
SoundManager.stop(java.lang.String p_189567_1_,
SoundCategory p_189567_2_) |
void |
SoundHandler.stop(java.lang.String p_189520_1_,
SoundCategory p_189520_2_) |
Constructor and Description |
---|
MovingSound(SoundEvent soundIn,
SoundCategory categoryIn) |
PositionedSound(ResourceLocation soundId,
SoundCategory categoryIn) |
PositionedSound(SoundEvent soundIn,
SoundCategory categoryIn) |
PositionedSoundRecord(ResourceLocation soundId,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
PositionedSoundRecord(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
BlockPos pos) |
PositionedSoundRecord(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
boolean repeatIn,
int repeatDelayIn,
ISound.AttenuationType attenuationTypeIn,
float xIn,
float yIn,
float zIn) |
PositionedSoundRecord(SoundEvent soundIn,
SoundCategory categoryIn,
float volumeIn,
float pitchIn,
float xIn,
float yIn,
float zIn) |
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
GuiScreenOptionsSounds.Button.category |
Modifier and Type | Method and Description |
---|---|
protected java.lang.String |
GuiScreenOptionsSounds.getDisplayString(SoundCategory category) |
Constructor and Description |
---|
Button(int buttonId,
int x,
int y,
SoundCategory categoryIn,
boolean master) |
Modifier and Type | Method and Description |
---|---|
void |
WorldClient.playSound(BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
WorldClient.playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
WorldClient.playSound(EntityPlayer player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
Modifier and Type | Method and Description |
---|---|
void |
RenderGlobal.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
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 | Method and Description |
---|---|
SoundCategory |
Entity.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityDragon.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityLightningBolt.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityShulker.getSoundCategory() |
SoundCategory |
EntityMob.getSoundCategory() |
SoundCategory |
EntityGhast.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityRabbit.getSoundCategory() |
SoundCategory |
EntityParrot.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityPlayer.getSoundCategory() |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
EntityShulkerBullet.getSoundCategory() |
Modifier and Type | Field and Description |
---|---|
private SoundCategory |
SPacketSoundEffect.category |
private SoundCategory |
SPacketCustomSound.category |
Modifier and Type | Method and Description |
---|---|
SoundCategory |
SPacketSoundEffect.getCategory() |
SoundCategory |
SPacketCustomSound.getCategory() |
Constructor and Description |
---|
SPacketCustomSound(java.lang.String soundNameIn,
SoundCategory categoryIn,
double xIn,
double yIn,
double zIn,
float volumeIn,
float pitchIn) |
SPacketSoundEffect(SoundEvent soundIn,
SoundCategory categoryIn,
double xIn,
double yIn,
double zIn,
float volumeIn,
float pitchIn) |
Modifier and Type | Method and Description |
---|---|
void |
PathWorldListener.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
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.getByName(java.lang.String categoryName) |
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 |
---|---|
void |
World.playSound(double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch,
boolean distanceDelay) |
void |
World.playSound(EntityPlayer player,
BlockPos pos,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
World.playSound(EntityPlayer player,
double x,
double y,
double z,
SoundEvent soundIn,
SoundCategory category,
float volume,
float pitch) |
void |
ServerWorldEventHandler.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
float volume,
float pitch) |
void |
IWorldEventListener.playSoundToAllNearExcept(EntityPlayer player,
SoundEvent soundIn,
SoundCategory category,
double x,
double y,
double z,
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) |