java.lang.Object
org.geysermc.mcprotocollib.protocol.data.game.level.sound.CustomSound
All Implemented Interfaces:
Sound

public class CustomSound extends Object implements Sound
  • Constructor Details

    • CustomSound

      public CustomSound(@NonNull @NonNull String name, boolean newSystem, float range)
  • Method Details

    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface Sound
    • isNewSystem

      public boolean isNewSystem()
      Specified by:
      isNewSystem in interface Sound
    • getRange

      public float getRange()
      Specified by:
      getRange in interface Sound
    • equals

      public boolean equals(@Nullable Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(@Nullable Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public @NonNull String toString()
      Overrides:
      toString in class Object