Class WrapperPlayClientBlockDig
java.lang.Object
com.comphenix.packetwrapper.wrappers.AbstractPacket
com.comphenix.packetwrapper.wrappers.play.serverbound.WrapperPlayClientBlockDig
-
Field Summary
FieldsFields inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
handle
-
Constructor Summary
ConstructorsConstructorDescriptionWrapperPlayClientBlockDig
(com.comphenix.protocol.events.PacketContainer packet) -
Method Summary
Modifier and TypeMethodDescriptioncom.comphenix.protocol.wrappers.EnumWrappers.PlayerDigType
Retrieves the value of field 'action'com.comphenix.protocol.wrappers.EnumWrappers.Direction
Retrieves the value of field 'direction'com.comphenix.protocol.wrappers.BlockPosition
getPos()
Retrieves the value of field 'pos'int
Retrieves the value of field 'sequence'void
setAction
(com.comphenix.protocol.wrappers.EnumWrappers.PlayerDigType value) Sets the value of field 'action'void
setDirection
(com.comphenix.protocol.wrappers.EnumWrappers.Direction value) Sets the value of field 'direction'void
setPos
(com.comphenix.protocol.wrappers.BlockPosition value) Sets the value of field 'pos'void
setSequence
(int value) Sets the value of field 'sequence'Methods inherited from class com.comphenix.packetwrapper.wrappers.AbstractPacket
broadcastPacket, equals, getHandle, hashCode, receivePacket, sendPacket
-
Field Details
-
TYPE
public static final com.comphenix.protocol.PacketType TYPE
-
-
Constructor Details
-
WrapperPlayClientBlockDig
public WrapperPlayClientBlockDig() -
WrapperPlayClientBlockDig
public WrapperPlayClientBlockDig(com.comphenix.protocol.events.PacketContainer packet)
-
-
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'
-
getDirection
public com.comphenix.protocol.wrappers.EnumWrappers.Direction getDirection()Retrieves the value of field 'direction'- Returns:
- 'direction'
-
setDirection
public void setDirection(com.comphenix.protocol.wrappers.EnumWrappers.Direction value) Sets the value of field 'direction'- Parameters:
value
- New value for field 'direction'
-
getAction
public com.comphenix.protocol.wrappers.EnumWrappers.PlayerDigType getAction()Retrieves the value of field 'action'- Returns:
- 'action'
-
setAction
public void setAction(com.comphenix.protocol.wrappers.EnumWrappers.PlayerDigType value) Sets the value of field 'action'- Parameters:
value
- New value for field 'action'
-
getSequence
public int getSequence()Retrieves the value of field 'sequence'- Returns:
- 'sequence'
-
setSequence
public void setSequence(int value) Sets the value of field 'sequence'- Parameters:
value
- New value for field 'sequence'
-