Class WrapperPlayServerTileEntityData

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

public class WrapperPlayServerTileEntityData 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
    WrapperPlayServerTileEntityData(com.comphenix.protocol.events.PacketContainer packet)
    Constructors a new wrapper for the specified packet
  • Method Summary

    Modifier and Type
    Method
    Description
    com.comphenix.protocol.wrappers.BlockPosition
    Retrieves the value of field 'pos'
    com.comphenix.protocol.wrappers.WrappedChatComponent[]
    Retrieves the value of field 'tag'
    com.comphenix.protocol.wrappers.WrappedRegistrable
    Retrieves the value of field 'type'
    void
    setPos(com.comphenix.protocol.wrappers.BlockPosition value)
    Sets the value of field 'pos'
    void
    setTag(com.comphenix.protocol.wrappers.WrappedChatComponent[] value)
    Sets the value of field 'tag'
    void
    setType(com.comphenix.protocol.wrappers.WrappedRegistrable value)
    Sets the value of field 'type'

    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

    • WrapperPlayServerTileEntityData

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

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

    • getPos

      public com.comphenix.protocol.wrappers.BlockPosition getPos()
      Retrieves the value of field 'pos'
      Returns:
      'pos'
    • setPos

      public void setPos(com.comphenix.protocol.wrappers.BlockPosition value)
      Sets the value of field 'pos'
      Parameters:
      value - New value for field 'pos'
    • getType

      public com.comphenix.protocol.wrappers.WrappedRegistrable getType()
      Retrieves the value of field 'type'
      Returns:
      'type'
    • setType

      public void setType(com.comphenix.protocol.wrappers.WrappedRegistrable value)
      Sets the value of field 'type'
      Parameters:
      value - New value for field 'type'
    • getTag

      public com.comphenix.protocol.wrappers.WrappedChatComponent[] getTag()
      Retrieves the value of field 'tag'
      Returns:
      'tag'
    • setTag

      public void setTag(com.comphenix.protocol.wrappers.WrappedChatComponent[] value)
      Sets the value of field 'tag'
      Parameters:
      value - New value for field 'tag'