Class WrapperPlayServerNamedSoundEffect

java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.clientbound.WrapperPlayServerNamedSoundEffect

public class WrapperPlayServerNamedSoundEffect extends AbstractPacket
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final com.comphenix.protocol.PacketType
    The packet type that is wrapped by this wrapper.

    Fields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    handle
  • Constructor Summary

    Constructors
    Constructor
    Description
    Constructs a new wrapper and initialize it with a packet handle with default values
    WrapperPlayServerNamedSoundEffect(com.comphenix.protocol.events.PacketContainer packet)
    Constructors a new wrapper for the specified packet
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Retrieves the value of field 'pitch'
    long
    Retrieves the value of field 'seed'
    org.bukkit.Sound
    Retrieves the value of field 'sound'
    com.comphenix.protocol.wrappers.EnumWrappers.SoundCategory
    Retrieves the value of field 'source'
    float
    Retrieves the value of field 'volume'
    int
    Retrieves the value of field 'x'
    int
    Retrieves the value of field 'y'
    int
    Retrieves the value of field 'z'
    void
    setPitch(float value)
    Sets the value of field 'pitch'
    void
    setSeed(long value)
    Sets the value of field 'seed'
    void
    setSound(org.bukkit.Sound value)
    Sets the value of field 'sound'
    void
    setSource(com.comphenix.protocol.wrappers.EnumWrappers.SoundCategory value)
    Sets the value of field 'source'
    void
    setVolume(float value)
    Sets the value of field 'volume'
    void
    setX(int value)
    Sets the value of field 'x'
    void
    setY(int value)
    Sets the value of field 'y'
    void
    setZ(int value)
    Sets the value of field 'z'

    Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket

    broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • TYPE

      public static final com.comphenix.protocol.PacketType TYPE
      The packet type that is wrapped by this wrapper.
  • Constructor Details

    • WrapperPlayServerNamedSoundEffect

      public WrapperPlayServerNamedSoundEffect()
      Constructs a new wrapper and initialize it with a packet handle with default values
    • WrapperPlayServerNamedSoundEffect

      public WrapperPlayServerNamedSoundEffect(com.comphenix.protocol.events.PacketContainer packet)
      Constructors a new wrapper for the specified packet
      Parameters:
      packet - the packet to wrap
  • Method Details

    • getSound

      public org.bukkit.Sound getSound()
      Retrieves the value of field 'sound'
      Returns:
      'sound'
    • setSound

      public void setSound(org.bukkit.Sound value)
      Sets the value of field 'sound'
      Parameters:
      value - New value for field 'sound'
    • getSource

      public com.comphenix.protocol.wrappers.EnumWrappers.SoundCategory getSource()
      Retrieves the value of field 'source'
      Returns:
      'source'
    • setSource

      public void setSource(com.comphenix.protocol.wrappers.EnumWrappers.SoundCategory value)
      Sets the value of field 'source'
      Parameters:
      value - New value for field 'source'
    • getX

      public int getX()
      Retrieves the value of field 'x'
      Returns:
      'x'
    • setX

      public void setX(int value)
      Sets the value of field 'x'
      Parameters:
      value - New value for field 'x'
    • getY

      public int getY()
      Retrieves the value of field 'y'
      Returns:
      'y'
    • setY

      public void setY(int value)
      Sets the value of field 'y'
      Parameters:
      value - New value for field 'y'
    • getZ

      public int getZ()
      Retrieves the value of field 'z'
      Returns:
      'z'
    • setZ

      public void setZ(int value)
      Sets the value of field 'z'
      Parameters:
      value - New value for field 'z'
    • getVolume

      public float getVolume()
      Retrieves the value of field 'volume'
      Returns:
      'volume'
    • setVolume

      public void setVolume(float value)
      Sets the value of field 'volume'
      Parameters:
      value - New value for field 'volume'
    • getPitch

      public float getPitch()
      Retrieves the value of field 'pitch'
      Returns:
      'pitch'
    • setPitch

      public void setPitch(float value)
      Sets the value of field 'pitch'
      Parameters:
      value - New value for field 'pitch'
    • getSeed

      public long getSeed()
      Retrieves the value of field 'seed'
      Returns:
      'seed'
    • setSeed

      public void setSeed(long value)
      Sets the value of field 'seed'
      Parameters:
      value - New value for field 'seed'