Class PlayLevelSoundEvent.AtEntity

java.lang.Object
net.neoforged.bus.api.Event
net.neoforged.neoforge.event.PlayLevelSoundEvent
net.neoforged.neoforge.event.PlayLevelSoundEvent.AtEntity
All Implemented Interfaces:
net.neoforged.bus.api.ICancellableEvent
Enclosing class:
PlayLevelSoundEvent

public static class PlayLevelSoundEvent.AtEntity extends PlayLevelSoundEvent
  • Field Details

    • entity

      private final Entity entity
  • Constructor Details

  • Method Details

    • getEntity

      public Entity getEntity()
      Returns the entity the sound is being played on.
      Returns:
      the entity the sound is being played on