Package cn.nukkit.network.protocol
Class CraftingEventPacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.CraftingEventPacket
- All Implemented Interfaces:
Cloneable
- Author:
- Nukkit Project Team
-
Field Summary
Modifier and TypeFieldDescriptionItem[]
static final byte
Item[]
int
static final int
static final int
Deprecated.static final int
Deprecated.static final int
static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
Deprecated.static final int
int
Fields inherited from class cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
Fields inherited from class cn.nukkit.utils.BinaryStream
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, 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_ID- See Also:
-
TYPE_SHAPELESS
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_SHAPELESSDeprecated.- See Also:
-
TYPE_SHAPED
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_SHAPEDDeprecated.- See Also:
-
TYPE_FURNACE
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_FURNACEDeprecated.- See Also:
-
TYPE_FURNACE_DATA
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_FURNACE_DATADeprecated.- See Also:
-
TYPE_MULTI
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_MULTIDeprecated.- See Also:
-
TYPE_SHULKER_BOX
@Deprecated @DeprecationDetails(since="1.4.0.0-PN", reason="The name don\'t match the packet content") public static final int TYPE_SHULKER_BOXDeprecated.- See Also:
-
TYPE_INVENTORY
- See Also:
-
TYPE_CRAFTING
- See Also:
-
TYPE_WORKBENCH
- See Also:
-
windowId
public int windowId -
type
public int type -
id
-
input
-
output
-
-
Constructor Details
-
CraftingEventPacket
public CraftingEventPacket()
-
-
Method Details
-
decode
public void decode()- Specified by:
decode
in classDataPacket
-
encode
public void encode()- Specified by:
encode
in classDataPacket
-
pid
public byte pid()- Specified by:
pid
in classDataPacket
-
toString
-
equals
-
canEqual
-
hashCode
public int hashCode()
-