Package com.simibubi.create
Class AllSoundEvents.SoundEntryBuilder
java.lang.Object
com.simibubi.create.AllSoundEvents.SoundEntryBuilder
- Enclosing class:
- AllSoundEvents
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddVariant(String name) addVariant(net.minecraft.resources.ResourceLocation id) build()category(net.minecraft.sounds.SoundSource category) playExisting(net.minecraft.sounds.SoundEvent event) playExisting(net.minecraft.sounds.SoundEvent event, float volume, float pitch)
-
Field Details
-
id
protected net.minecraft.resources.ResourceLocation id -
subtitle
-
category
protected net.minecraft.sounds.SoundSource category -
wrappedEvents
-
variants
-
-
Constructor Details
-
SoundEntryBuilder
public SoundEntryBuilder(net.minecraft.resources.ResourceLocation id)
-
-
Method Details
-
subtitle
-
noSubtitle
-
category
-
addVariant
-
addVariant
-
playExisting
public AllSoundEvents.SoundEntryBuilder playExisting(net.minecraft.sounds.SoundEvent event, float volume, float pitch) -
playExisting
-
build
-