How do I read the data from PlayerPacketOutEntityEquipment? (1.19.3) #2078
-
Sorry I know this is probably an obvious thing from those who are more advanced, but I'm struggling to read the (ByteEnum, Slot) list in this packet. I've read the entity ID fine, and I can get the structure of the rest of the data, but now I'm stumped. I'm not sure how to process this and if I look at Minecraft's class decompiled it says the slots are All I want to do is get the individual pieces of information out of the |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Leaving this here in case anyone else has the same question. You can access the EntityEquipment packet such as in this function by using |
Beta Was this translation helpful? Give feedback.
Leaving this here in case anyone else has the same question.
You can access the EntityEquipment packet such as in this function by using
PacketContainer.getSlotStackPairLists()
. This can then be read and written as desired.