Add job for filling in a volume of blocks
This commit is contained in:
@@ -5,7 +5,7 @@ from minecraft.networking.types import (
|
||||
VarInt, Integer, UnsignedByte, Position, Vector, MutableRecord,
|
||||
attribute_alias, multi_attribute_alias, Long, Boolean, VarLong,
|
||||
Short, UnsignedLong, Byte, BlockFace, String, UUID, Angle, Double,
|
||||
Float,
|
||||
Float, Direction, PositionAndLook
|
||||
)
|
||||
|
||||
from protocol.types import Nbt, Slot, Entry
|
||||
@@ -374,3 +374,19 @@ class EntityActionPacket(Packet):
|
||||
{'action_id': VarInt},
|
||||
{'jump_boost': VarInt},
|
||||
]
|
||||
|
||||
class SpawnPlayerPacket(Packet):
|
||||
# https://wiki.vg/Protocol#Spawn_Player
|
||||
|
||||
id = 0x04
|
||||
packet_name = 'spawn player'
|
||||
|
||||
definition = [
|
||||
{'entity_id': VarInt},
|
||||
{'player_uuid': UUID},
|
||||
{'x': Double},
|
||||
{'y': Double},
|
||||
{'z': Double},
|
||||
{'yaw': Angle},
|
||||
{'pitch': Angle},
|
||||
]
|
||||
|
Reference in New Issue
Block a user