2023-08-25 23:11:36 +03:00
|
|
|
from .base import Packet
|
|
|
|
|
|
|
|
class Packet15Place(Packet, packet_id=15):
|
|
|
|
FIELDS = [
|
|
|
|
('x', 'int'),
|
2023-08-26 01:12:19 +03:00
|
|
|
('y', 'ubyte'),
|
2023-08-25 23:11:36 +03:00
|
|
|
('z', 'int'),
|
2023-08-26 01:12:19 +03:00
|
|
|
('direction', 'ubyte'),
|
2023-08-25 23:11:36 +03:00
|
|
|
('y_placed', 'double'),
|
|
|
|
('item', 'itemstack_optional')
|
|
|
|
]
|