Class PortalSoundManager.Builder

java.lang.Object
tech.anonymoushacker1279.openportals.portal.config.PortalSoundManager.Builder
Enclosing class:
PortalSoundManager

public static class PortalSoundManager.Builder extends Object
Builder for creating PortalSoundManager instances.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • travelSound

      public void travelSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.entity.Entity, Float> volume, Function<net.minecraft.world.entity.Entity, Float> pitch)
    • triggerSound

      public void triggerSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.entity.Entity, Float> volume, Function<net.minecraft.world.entity.Entity, Float> pitch)
    • ambientSound

      public void ambientSound(net.minecraft.resources.Identifier soundIdentifier, Function<net.minecraft.world.level.Level, Float> volume, Function<net.minecraft.world.level.Level, Float> pitch)
    • build

      public PortalSoundManager build()