Class PlayerActionPacket

All Implemented Interfaces:
Cloneable

public class PlayerActionPacket extends DataPacket
Author:
Nukkit Project Team
  • Field Details

    • NETWORK_ID

      public static final byte NETWORK_ID
      See Also:
    • ACTION_START_BREAK

      public static final int ACTION_START_BREAK
      See Also:
    • ACTION_ABORT_BREAK

      public static final int ACTION_ABORT_BREAK
      See Also:
    • ACTION_STOP_BREAK

      public static final int ACTION_STOP_BREAK
      See Also:
    • ACTION_GET_UPDATED_BLOCK

      public static final int ACTION_GET_UPDATED_BLOCK
      See Also:
    • ACTION_DROP_ITEM

      public static final int ACTION_DROP_ITEM
      See Also:
    • ACTION_START_SLEEPING

      public static final int ACTION_START_SLEEPING
      See Also:
    • ACTION_STOP_SLEEPING

      public static final int ACTION_STOP_SLEEPING
      See Also:
    • ACTION_RESPAWN

      public static final int ACTION_RESPAWN
      See Also:
    • ACTION_JUMP

      public static final int ACTION_JUMP
      See Also:
    • ACTION_START_SPRINT

      public static final int ACTION_START_SPRINT
      See Also:
    • ACTION_STOP_SPRINT

      public static final int ACTION_STOP_SPRINT
      See Also:
    • ACTION_START_SNEAK

      public static final int ACTION_START_SNEAK
      See Also:
    • ACTION_STOP_SNEAK

      public static final int ACTION_STOP_SNEAK
      See Also:
    • ACTION_CREATIVE_PLAYER_DESTROY_BLOCK

      public static final int ACTION_CREATIVE_PLAYER_DESTROY_BLOCK
      See Also:
    • ACTION_DIMENSION_CHANGE_ACK

      public static final int ACTION_DIMENSION_CHANGE_ACK
      See Also:
    • ACTION_START_GLIDE

      public static final int ACTION_START_GLIDE
      See Also:
    • ACTION_STOP_GLIDE

      public static final int ACTION_STOP_GLIDE
      See Also:
    • ACTION_BUILD_DENIED

      public static final int ACTION_BUILD_DENIED
      See Also:
    • ACTION_CONTINUE_BREAK

      public static final int ACTION_CONTINUE_BREAK
      See Also:
    • ACTION_SET_ENCHANTMENT_SEED

      public static final int ACTION_SET_ENCHANTMENT_SEED
      See Also:
    • ACTION_START_SWIMMING

      public static final int ACTION_START_SWIMMING
      See Also:
    • ACTION_STOP_SWIMMING

      public static final int ACTION_STOP_SWIMMING
      See Also:
    • ACTION_START_SPIN_ATTACK

      public static final int ACTION_START_SPIN_ATTACK
      See Also:
    • ACTION_STOP_SPIN_ATTACK

      public static final int ACTION_STOP_SPIN_ATTACK
      See Also:
    • ACTION_INTERACT_BLOCK

      public static final int ACTION_INTERACT_BLOCK
      See Also:
    • ACTION_PREDICT_DESTROY_BLOCK

      public static final int ACTION_PREDICT_DESTROY_BLOCK
      See Also:
    • ACTION_CONTINUE_DESTROY_BLOCK

      public static final int ACTION_CONTINUE_DESTROY_BLOCK
      See Also:
    • ACTION_START_ITEM_USE_ON

      public static final int ACTION_START_ITEM_USE_ON
      See Also:
    • ACTION_STOP_ITEM_USE_ON

      public static final int ACTION_STOP_ITEM_USE_ON
      See Also:
    • entityId

      public long entityId
    • action

      public int action
    • x

      public int x
    • y

      public int y
    • z

      public int z
    • resultPosition

      public BlockVector3 resultPosition
    • face

      public int face
  • Constructor Details

    • PlayerActionPacket

      public PlayerActionPacket()
  • Method Details