public class BedrockPacketHelper_v407 extends BedrockPacketHelper_v390
| Modifier and Type | Field and Description |
|---|---|
static BedrockPacketHelper_v407 |
INSTANCE |
protected com.nukkitx.protocol.util.Int2ObjectBiMap<com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType> |
stackRequestActionTypes |
| Modifier | Constructor and Description |
|---|---|
protected |
BedrockPacketHelper_v407() |
| Modifier and Type | Method and Description |
|---|---|
int |
getIdFromStackRequestActionType(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType type) |
com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType |
getStackRequestActionTypeFromId(int id) |
com.nukkitx.protocol.bedrock.data.entity.EntityLinkData |
readEntityLink(ByteBuf buffer) |
boolean |
readInventoryActions(ByteBuf buffer,
com.nukkitx.protocol.bedrock.BedrockSession session,
List<com.nukkitx.protocol.bedrock.data.inventory.InventoryActionData> actions) |
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest |
readItemStackRequest(ByteBuf buffer,
com.nukkitx.protocol.bedrock.BedrockSession session) |
com.nukkitx.protocol.bedrock.data.inventory.ItemData |
readNetItem(ByteBuf buffer,
com.nukkitx.protocol.bedrock.BedrockSession session) |
protected com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData |
readRequestActionData(ByteBuf byteBuf,
com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType type,
com.nukkitx.protocol.bedrock.BedrockSession session) |
protected com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData |
readStackRequestSlotInfo(ByteBuf buffer) |
protected void |
registerEntityData() |
protected void |
registerEntityEvents() |
protected void |
registerEntityFlags() |
protected void |
registerLevelEvents() |
protected void |
registerSoundEvents() |
protected void |
registerStackActionRequestTypes() |
void |
writeEntityLink(ByteBuf buffer,
com.nukkitx.protocol.bedrock.data.entity.EntityLinkData entityLink) |
void |
writeInventoryActions(ByteBuf buffer,
com.nukkitx.protocol.bedrock.BedrockSession session,
List<com.nukkitx.protocol.bedrock.data.inventory.InventoryActionData> actions,
boolean hasNetworkIds) |
void |
writeItemStackRequest(ByteBuf buffer,
com.nukkitx.protocol.bedrock.BedrockSession session,
com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request) |
void |
writeNetItem(ByteBuf buffer,
com.nukkitx.protocol.bedrock.data.inventory.ItemData item,
com.nukkitx.protocol.bedrock.BedrockSession session) |
protected void |
writeRequestActionData(ByteBuf byteBuf,
com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action,
com.nukkitx.protocol.bedrock.BedrockSession session) |
protected void |
writeStackRequestSlotInfo(ByteBuf buffer,
com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData data) |
readSkin, writeSkinreadAnimationData, readImage, readStructureSettings, registerCommandParams, registerResourcePackTypes, writeAnimationData, writeImage, writeStructureSettingsreadEntityData, writeEntityDatareadItem, readItemUse, writeItem, writeItemUsereadCommandEnum, readCommandOrigin, readGameRule, readItemInstance, registerEntityDataTypes, registerGameRuleTypes, writeCommandEnum, writeCommandOrigin, writeGameRule, writeItemInstanceaddCommandParam, addEntityData, addEntityDataType, addEntityEvent, addEntityFlag, addGameRuleType, addLevelEvent, addResourcePackType, addSoundEvent, getBlockingItemIdentifier, getCommandParam, getCommandParamId, getEntityEvent, getEntityEventId, getLevelEvent, getLevelEventId, getResourcePackType, getResourcePackTypeId, getSoundEvent, getSoundEventId, isBlockingItem, readArray, readArray, readArray, readArray, readArray, readArray, readArrayShortLE, readArrayShortLE, readBlockPosition, readBuffer, readByteAngle, readByteArray, readByteRotation, readCommandEnumConstraints, readContainerChangeRecipe, readExperiments, readLEAsciiString, readOptional, readPotionRecipe, readRecipeIngredient, readString, readTag, readUuid, readVector2f, readVector3f, readVector3i, removeCommandParam, removeCommandParam, writeArray, writeArray, writeArray, writeArray, writeArray, writeArray, writeArrayShortLE, writeArrayShortLE, writeBlockPosition, writeBuffer, writeByteAngle, writeByteArray, writeByteRotation, writeCommandEnumConstraints, writeContainerChangeRecipe, writeExperiments, writeLEAsciiString, writeOptional, writePotionRecipe, writeRecipeIngredient, writeSource, writeString, writeTag, writeUuid, writeVector2f, writeVector3f, writeVector3ipublic static final BedrockPacketHelper_v407 INSTANCE
protected final com.nukkitx.protocol.util.Int2ObjectBiMap<com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType> stackRequestActionTypes
protected void registerEntityData()
registerEntityData in class com.nukkitx.protocol.bedrock.v388.BedrockPacketHelper_v388protected void registerEntityFlags()
registerEntityFlags in class com.nukkitx.protocol.bedrock.v388.BedrockPacketHelper_v388protected void registerEntityEvents()
registerEntityEvents in class com.nukkitx.protocol.bedrock.v388.BedrockPacketHelper_v388protected void registerLevelEvents()
registerLevelEvents in class com.nukkitx.protocol.bedrock.v389.BedrockPacketHelper_v389protected void registerSoundEvents()
registerSoundEvents in class com.nukkitx.protocol.bedrock.v388.BedrockPacketHelper_v388public com.nukkitx.protocol.bedrock.data.entity.EntityLinkData readEntityLink(ByteBuf buffer)
readEntityLink in class com.nukkitx.protocol.bedrock.v291.BedrockPacketHelper_v291public void writeEntityLink(ByteBuf buffer, com.nukkitx.protocol.bedrock.data.entity.EntityLinkData entityLink)
writeEntityLink in class com.nukkitx.protocol.bedrock.v291.BedrockPacketHelper_v291public boolean readInventoryActions(ByteBuf buffer, com.nukkitx.protocol.bedrock.BedrockSession session, List<com.nukkitx.protocol.bedrock.data.inventory.InventoryActionData> actions)
readInventoryActions in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic void writeInventoryActions(ByteBuf buffer, com.nukkitx.protocol.bedrock.BedrockSession session, List<com.nukkitx.protocol.bedrock.data.inventory.InventoryActionData> actions, boolean hasNetworkIds)
writeInventoryActions in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic com.nukkitx.protocol.bedrock.data.inventory.ItemData readNetItem(ByteBuf buffer, com.nukkitx.protocol.bedrock.BedrockSession session)
readNetItem in class com.nukkitx.protocol.bedrock.v291.BedrockPacketHelper_v291public void writeNetItem(ByteBuf buffer, com.nukkitx.protocol.bedrock.data.inventory.ItemData item, com.nukkitx.protocol.bedrock.BedrockSession session)
writeNetItem in class com.nukkitx.protocol.bedrock.v291.BedrockPacketHelper_v291protected void registerStackActionRequestTypes()
registerStackActionRequestTypes in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType getStackRequestActionTypeFromId(int id)
getStackRequestActionTypeFromId in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic int getIdFromStackRequestActionType(com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType type)
getIdFromStackRequestActionType in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest readItemStackRequest(ByteBuf buffer, com.nukkitx.protocol.bedrock.BedrockSession session)
readItemStackRequest in class com.nukkitx.protocol.bedrock.BedrockPacketHelperpublic void writeItemStackRequest(ByteBuf buffer, com.nukkitx.protocol.bedrock.BedrockSession session, com.nukkitx.protocol.bedrock.data.inventory.ItemStackRequest request)
writeItemStackRequest in class com.nukkitx.protocol.bedrock.BedrockPacketHelperprotected void writeRequestActionData(ByteBuf byteBuf, com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData action, com.nukkitx.protocol.bedrock.BedrockSession session)
protected com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionData readRequestActionData(ByteBuf byteBuf, com.nukkitx.protocol.bedrock.data.inventory.stackrequestactions.StackRequestActionType type, com.nukkitx.protocol.bedrock.BedrockSession session)
protected com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData readStackRequestSlotInfo(ByteBuf buffer)
protected void writeStackRequestSlotInfo(ByteBuf buffer, com.nukkitx.protocol.bedrock.data.inventory.StackRequestSlotInfoData data)
Copyright © 2018–2021 NukkitX. All rights reserved.