Uses of Class
net.minecraftforge.common.data.SoundDefinition
-
Packages that use SoundDefinition Package Description net.minecraftforge.common.data -
-
Uses of SoundDefinition in net.minecraftforge.common.data
Fields in net.minecraftforge.common.data with type parameters of type SoundDefinition Modifier and Type Field Description private java.util.Map<java.lang.String,SoundDefinition>SoundDefinitionsProvider. soundsMethods in net.minecraftforge.common.data that return SoundDefinition Modifier and Type Method Description static SoundDefinitionSoundDefinition. definition()Creates a newSoundDefinition, which will host a set ofSoundDefinition.Sounds and the necessary parameters.protected static SoundDefinitionSoundDefinitionsProvider. definition()Creates a newSoundDefinition, which will host a set ofSoundDefinition.Sounds and the necessary parameters.SoundDefinitionSoundDefinition. replace(boolean replace)Sets whether this definition should replace any other definition for the same sound event previously applied, rather than overwriting it.SoundDefinitionSoundDefinition. subtitle(java.lang.String subtitle)Sets the language key for the subtitle that will be displayed whenever this sound is being played.SoundDefinitionSoundDefinition. with(SoundDefinition.Sound sound)Adds the given sound to this sound definition.SoundDefinitionSoundDefinition. with(SoundDefinition.Sound... sounds)Adds the given sounds to this sound definition.Methods in net.minecraftforge.common.data with parameters of type SoundDefinition Modifier and Type Method Description protected voidSoundDefinitionsProvider. add(java.lang.String soundEvent, SoundDefinition definition)Adds theSoundEventwith the specified name along with itsSoundDefinitionto the list.protected voidSoundDefinitionsProvider. add(java.util.function.Supplier<SoundEvent> soundEvent, SoundDefinition definition)Adds the entry name associated with the suppliedSoundEventwith the givenSoundDefinitionto the list.protected voidSoundDefinitionsProvider. add(ResourceLocation soundEvent, SoundDefinition definition)protected voidSoundDefinitionsProvider. add(SoundEvent soundEvent, SoundDefinition definition)Adds the entry name associated with the givenSoundEventwith theSoundDefinitionto the list.private voidSoundDefinitionsProvider. addSounds(java.lang.String soundEvent, SoundDefinition definition)private booleanSoundDefinitionsProvider. validate(java.lang.String name, SoundDefinition def)Method parameters in net.minecraftforge.common.data with type arguments of type SoundDefinition Modifier and Type Method Description private com.google.gson.JsonObjectSoundDefinitionsProvider. mapToJson(java.util.Map<java.lang.String,SoundDefinition> map)
-