Package cn.nukkit.network.protocol
Class AdventureSettingsPacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.AdventureSettingsPacket
- All Implemented Interfaces:
Cloneable
Deprecated.
- Author:
- Nukkit Project Team
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.This constant is used to identify flags that should be set on the second field.static final int
Deprecated.long
Deprecated.long
Deprecated.static final int
Deprecated.static final int
Deprecated.long
Deprecated.long
Deprecated.long
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final byte
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.long
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.Fields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
Fields inherited from class cn.nukkit.utils.BinaryStream
count, offset
-
Constructor Summary
-
Method Summary
Methods inherited from class cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, reset, setChannel, tryEncode
Methods inherited from class cn.nukkit.utils.BinaryStream
feof, get, get, getArray, getAttributeList, getBlockFace, getBlockVector3, getBoolean, getBuffer, getByte, getByteArray, getCount, getEntityLink, getEntityRuntimeId, getEntityUniqueId, getFloat, getFloat, getImage, getInt, getLFloat, getLFloat, getLInt, getLLong, getLong, getLShort, getLTriad, getOffset, getRecipeIngredient, getShort, getSignedBlockPosition, getSkin, getSlot, getString, getTag, getTriad, getUnsignedVarInt, getUnsignedVarLong, getUUID, getVarInt, getVarLong, getVector3f, put, putArray, putArray, putArray, putAttributeList, putBlockFace, putBlockVector3, putBlockVector3, putBoolean, putByte, putByteArray, putEntityLink, putEntityRuntimeId, putEntityUniqueId, putFloat, putGameRules, putImage, putInt, putLFloat, putLInt, putLLong, putLong, putLShort, putLTriad, putRecipeIngredient, putShort, putSignedBlockPosition, putSkin, putSlot, putSlot, putString, putTag, putTriad, putUnsignedVarInt, putUnsignedVarLong, putUUID, putVarInt, putVarLong, putVector3f, putVector3f, setBuffer, setBuffer, setOffset
-
Field Details
-
NETWORK_ID
public static final byte NETWORK_IDDeprecated.- See Also:
-
PERMISSION_NORMAL
public static final int PERMISSION_NORMALDeprecated.- See Also:
-
PERMISSION_OPERATOR
public static final int PERMISSION_OPERATORDeprecated.- See Also:
-
PERMISSION_HOST
public static final int PERMISSION_HOSTDeprecated.- See Also:
-
PERMISSION_AUTOMATION
public static final int PERMISSION_AUTOMATIONDeprecated.- See Also:
-
PERMISSION_ADMIN
public static final int PERMISSION_ADMINDeprecated.- See Also:
-
BITFLAG_SECOND_SET
public static final int BITFLAG_SECOND_SETDeprecated.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_IMMUTABLEDeprecated.- See Also:
-
NO_PVM
public static final int NO_PVMDeprecated.- See Also:
-
NO_MVP
public static final int NO_MVPDeprecated.- See Also:
-
SHOW_NAME_TAGS
public static final int SHOW_NAME_TAGSDeprecated.- See Also:
-
AUTO_JUMP
public static final int AUTO_JUMPDeprecated.- See Also:
-
ALLOW_FLIGHT
public static final int ALLOW_FLIGHTDeprecated.- See Also:
-
NO_CLIP
public static final int NO_CLIPDeprecated.- See Also:
-
WORLD_BUILDER
public static final int WORLD_BUILDERDeprecated.- See Also:
-
FLYING
public static final int FLYINGDeprecated.- See Also:
-
MUTED
public static final int MUTEDDeprecated.- See Also:
-
MINE
public static final int MINEDeprecated.- See Also:
-
DOORS_AND_SWITCHES
public static final int DOORS_AND_SWITCHESDeprecated.- See Also:
-
OPEN_CONTAINERS
public static final int OPEN_CONTAINERSDeprecated.- See Also:
-
ATTACK_PLAYERS
public static final int ATTACK_PLAYERSDeprecated.- See Also:
-
ATTACK_MOBS
public static final int ATTACK_MOBSDeprecated.- See Also:
-
OPERATOR
public static final int OPERATORDeprecated.- See Also:
-
TELEPORT
public static final int TELEPORTDeprecated.- See Also:
-
BUILD
public static final int BUILDDeprecated.- See Also:
-
DEFAULT_LEVEL_PERMISSIONS
public static final int DEFAULT_LEVEL_PERMISSIONSDeprecated.- See Also:
-
flags
public long flagsDeprecated. -
commandPermission
public long commandPermissionDeprecated. -
flags2
public long flags2Deprecated. -
playerPermission
public long playerPermissionDeprecated. -
customFlags
public long customFlagsDeprecated. -
entityUniqueId
public long entityUniqueIdDeprecated.
-
-
Constructor Details
-
AdventureSettingsPacket
public AdventureSettingsPacket()Deprecated.
-
-
Method Details
-
decode
public void decode()Deprecated.- Specified by:
decode
in classDataPacket
-
encode
public void encode()Deprecated.- Specified by:
encode
in classDataPacket
-
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 classDataPacket
-
toString
Deprecated.
-