Packet5PlayerInventory
This commit is contained in:
parent
fc2cedad07
commit
2667b14bed
|
@ -77,3 +77,5 @@ from .packet141updateflag import Packet141UpdateFlag
|
||||||
from .packet105updateprogressbar import Packet105UpdateProgressbar
|
from .packet105updateprogressbar import Packet105UpdateProgressbar
|
||||||
from .packet142openflagwindow import Packet142OpenFlagWindow
|
from .packet142openflagwindow import Packet142OpenFlagWindow
|
||||||
from .packet108sethotbaroffset import Packet108SetHotbarOffset
|
from .packet108sethotbaroffset import Packet108SetHotbarOffset
|
||||||
|
from .packet5playerinventory import Packet5PlayerInventory
|
||||||
|
from .packet5playerinventory import Packet5PlayerInventory
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
from .base import Packet
|
||||||
|
|
||||||
|
class Packet5PlayerInventory(Packet, packet_id=5):
|
||||||
|
__slots__ = ('entity_id', 'item', 'data')
|
||||||
|
FIELDS = [
|
||||||
|
('entity_id', 'int'),
|
||||||
|
('item', 'itemstack'),
|
||||||
|
('data', 'nbt'),
|
||||||
|
]
|
Loading…
Reference in New Issue