Packet5PlayerInventory

This commit is contained in:
Casey 2023-08-27 15:37:41 +03:00
parent fc2cedad07
commit 2667b14bed
Signed by: hkc
GPG Key ID: F0F6CFE11CDB0960
2 changed files with 11 additions and 0 deletions

View File

@ -77,3 +77,5 @@ from .packet141updateflag import Packet141UpdateFlag
from .packet105updateprogressbar import Packet105UpdateProgressbar
from .packet142openflagwindow import Packet142OpenFlagWindow
from .packet108sethotbaroffset import Packet108SetHotbarOffset
from .packet5playerinventory import Packet5PlayerInventory
from .packet5playerinventory import Packet5PlayerInventory

View File

@ -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'),
]