Class BlockSoundEventBuilder.SoundOptions
java.lang.Object
team.lodestar.lodestone.modules.datagen.providers.sound.BlockSoundEventBuilder.SoundOptions
- Enclosing class:
BlockSoundEventBuilder
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSoundOptions(Supplier<net.minecraft.sounds.SoundEvent> soundEvent, String soundName) -
Method Summary
Modifier and TypeMethodDescriptionmodifyDefinition(Consumer<net.neoforged.neoforge.common.data.SoundDefinition> modifier) modifySound(Consumer<net.neoforged.neoforge.common.data.SoundDefinition.Sound> modifier) replaceSoundName(String soundName) replaceSoundPath(String soundPathReplacement)
-
Field Details
-
soundEvent
-
soundName
-
soundPathReplacement
-
soundModifier
-
soundDefinitionModifier
-
-
Constructor Details
-
SoundOptions
-
-
Method Details
-
replaceSoundName
-
replaceSoundPath
-
modifySound
public BlockSoundEventBuilder.SoundOptions modifySound(Consumer<net.neoforged.neoforge.common.data.SoundDefinition.Sound> modifier) -
modifyDefinition
public BlockSoundEventBuilder.SoundOptions modifyDefinition(Consumer<net.neoforged.neoforge.common.data.SoundDefinition> modifier)
-