show playerposlook coords in console
This commit is contained in:
parent
b836c31658
commit
9413ac4a85
1 changed files with 4 additions and 1 deletions
|
@ -170,8 +170,11 @@ class Treepuncher(MinecraftClient):
|
|||
|
||||
@self.on_packet(PacketPosition)
|
||||
async def player_rubberband_cb(packet:PacketPosition):
|
||||
self._logger.info("Position synchronized")
|
||||
self.position = BlockPos(packet.x, packet.y, packet.z)
|
||||
self._logger.info(
|
||||
"Position synchronized : (x:{%.0f},y:{%.0f},z:{%.0f})",
|
||||
self.position.x, self.position.y, self.position.z
|
||||
)
|
||||
await self.dispatcher.write(
|
||||
PacketTeleportConfirm(
|
||||
self.dispatcher.proto,
|
||||
|
|
Loading…
Reference in a new issue