Class AdventureSettingsPacket

java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.AdventureSettingsPacket
All Implemented Interfaces:
Cloneable

@Deprecated public class AdventureSettingsPacket extends DataPacket
Deprecated.
Author:
Nukkit Project Team
  • Field Details

    • NETWORK_ID

      public static final byte NETWORK_ID
      Deprecated.
      See Also:
    • PERMISSION_NORMAL

      public static final int PERMISSION_NORMAL
      Deprecated.
      See Also:
    • PERMISSION_OPERATOR

      public static final int PERMISSION_OPERATOR
      Deprecated.
      See Also:
    • PERMISSION_HOST

      public static final int PERMISSION_HOST
      Deprecated.
      See Also:
    • PERMISSION_AUTOMATION

      public static final int PERMISSION_AUTOMATION
      Deprecated.
      See Also:
    • PERMISSION_ADMIN

      public static final int PERMISSION_ADMIN
      Deprecated.
      See Also:
    • BITFLAG_SECOND_SET

      public static final int BITFLAG_SECOND_SET
      Deprecated.
      This constant is used to identify flags that should be set on the second field. In a sensible world, these flags would all be set on the same packet field, but as of MCPE 1.2, the new abilities flags have for some reason been assigned a separate field.
      See Also:
    • WORLD_IMMUTABLE

      public static final int WORLD_IMMUTABLE
      Deprecated.
      See Also:
    • NO_PVM

      public static final int NO_PVM
      Deprecated.
      See Also:
    • NO_MVP

      public static final int NO_MVP
      Deprecated.
      See Also:
    • SHOW_NAME_TAGS

      public static final int SHOW_NAME_TAGS
      Deprecated.
      See Also:
    • AUTO_JUMP

      public static final int AUTO_JUMP
      Deprecated.
      See Also:
    • ALLOW_FLIGHT

      public static final int ALLOW_FLIGHT
      Deprecated.
      See Also:
    • NO_CLIP

      public static final int NO_CLIP
      Deprecated.
      See Also:
    • WORLD_BUILDER

      public static final int WORLD_BUILDER
      Deprecated.
      See Also:
    • FLYING

      public static final int FLYING
      Deprecated.
      See Also:
    • MUTED

      public static final int MUTED
      Deprecated.
      See Also:
    • MINE

      public static final int MINE
      Deprecated.
      See Also:
    • DOORS_AND_SWITCHES

      public static final int DOORS_AND_SWITCHES
      Deprecated.
      See Also:
    • OPEN_CONTAINERS

      public static final int OPEN_CONTAINERS
      Deprecated.
      See Also:
    • ATTACK_PLAYERS

      public static final int ATTACK_PLAYERS
      Deprecated.
      See Also:
    • ATTACK_MOBS

      public static final int ATTACK_MOBS
      Deprecated.
      See Also:
    • OPERATOR

      public static final int OPERATOR
      Deprecated.
      See Also:
    • TELEPORT

      public static final int TELEPORT
      Deprecated.
      See Also:
    • BUILD

      public static final int BUILD
      Deprecated.
      See Also:
    • DEFAULT_LEVEL_PERMISSIONS

      public static final int DEFAULT_LEVEL_PERMISSIONS
      Deprecated.
      See Also:
    • flags

      public long flags
      Deprecated.
    • commandPermission

      public long commandPermission
      Deprecated.
    • flags2

      public long flags2
      Deprecated.
    • playerPermission

      public long playerPermission
      Deprecated.
    • customFlags

      public long customFlags
      Deprecated.
    • entityUniqueId

      public long entityUniqueId
      Deprecated.
  • Constructor Details

    • AdventureSettingsPacket

      public AdventureSettingsPacket()
      Deprecated.
  • Method Details

    • decode

      public void decode()
      Deprecated.
      Specified by:
      decode in class DataPacket
    • encode

      public void encode()
      Deprecated.
      Specified by:
      encode in class DataPacket
    • getFlag

      public boolean getFlag(int flag)
      Deprecated.
    • setFlag

      public void setFlag(int flag, boolean value)
      Deprecated.
    • pid

      public byte pid()
      Deprecated.
      Specified by:
      pid in class DataPacket
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object