27282930313233
int itemCount = buffer.readUnsignedByte(); int damage = buffer.readUnsignedByte(); items[slot] = new Item(item, itemCount, damage); } } return new SetWindowSlotsMessage(id, items); }