Class SoundEffectMessage

java.lang.Object
net.glowstone.net.message.play.game.SoundEffectMessage
All Implemented Interfaces:
com.flowpowered.network.Message

public class SoundEffectMessage extends Object implements com.flowpowered.network.Message
  • Constructor Details

    • SoundEffectMessage

      public SoundEffectMessage(int sound, org.bukkit.SoundCategory category, double x, double y, double z, float volume, float pitch)
  • Method Details

    • getSound

      public int getSound()
    • getCategory

      public org.bukkit.SoundCategory getCategory()
    • getX

      public double getX()
    • getY

      public double getY()
    • getZ

      public double getZ()
    • getVolume

      public float getVolume()
    • getPitch

      public float getPitch()
    • equals

      public boolean equals(Object o)
      Specified by:
      equals in interface com.flowpowered.network.Message
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.flowpowered.network.Message
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Specified by:
      toString in interface com.flowpowered.network.Message
      Overrides:
      toString in class Object