from .base import Packet class Packet5PlayerInventory(Packet, packet_id=5): __slots__ = ('entity_id', 'item', 'data') FIELDS = [ ('entity_id', 'int'), ('item', 'itemstack'), ('data', 'nbt'), ]