类 SimulationTypePacket
java.lang.Object
cn.nukkit.utils.BinaryStream
cn.nukkit.network.protocol.DataPacket
cn.nukkit.network.protocol.SimulationTypePacket
- 所有已实现的接口:
Cloneable
- 从以下版本开始:
- 2021-07-06
- 作者:
- joserobjr
-
嵌套类概要
嵌套类 -
字段概要
字段从类继承的字段 cn.nukkit.network.protocol.DataPacket
EMPTY_ARRAY, isEncoded, reliability
从类继承的字段 cn.nukkit.utils.BinaryStream
offset
-
构造器概要
构造器 -
方法概要
从类继承的方法 cn.nukkit.network.protocol.DataPacket
clean, clone, compress, compress, getChannel, reset, setChannel, tryEncode
从类继承的方法 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
-
字段详细资料
-
NETWORK_ID
- 另请参阅:
-
-
构造器详细资料
-
SimulationTypePacket
-
-
方法详细资料
-
pid
public byte pid()- 指定者:
pid
在类中DataPacket
-
decode
public void decode()- 指定者:
decode
在类中DataPacket
-
encode
public void encode()- 指定者:
encode
在类中DataPacket
-
getSimulationType
@PowerNukkitOnly @Since("1.5.2.0-PN") @Nonnull public SimulationTypePacket.SimulationType getSimulationType() -
setSimulationType
@PowerNukkitOnly @Since("1.5.2.0-PN") public void setSimulationType(@Nonnull SimulationTypePacket.SimulationType type)
-