Class PortalSoundManager.Builder
java.lang.Object
tech.anonymoushacker1279.openportals.portal.config.PortalSoundManager.Builder
- Enclosing class:
PortalSoundManager
Builder for creating
PortalSoundManager instances.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidambientSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.level.Level, Float> volume, Function<net.minecraft.world.level.Level, Float> pitch) build()voidtravelSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.entity.Entity, Float> volume, Function<net.minecraft.world.entity.Entity, Float> pitch) voidtriggerSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.entity.Entity, Float> volume, Function<net.minecraft.world.entity.Entity, Float> pitch)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
travelSound
-
triggerSound
-
ambientSound
-
build
-