We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I tried to move the character 1 block forward, but I still didn't figure out how to write the PlayerPositionAndLookPacket package. Code:
current_position = clientbound.play.PlayerPositionAndLookPacket.PositionAndLook( x=-13, y=70, z=-48, yaw=1, pitch=1) packet = clientbound.play.PlayerPositionAndLookPacket() packet.x = -13 packet.y = 70 packet.z = -48 packet.yaw = 4.0 packet.pitch = 5.0 packet.flags = 0 packet.apply(current_position) connection.write_packet(packet)
Error: AttributeError: 'PlayerPositionAndLookPacket' object has no attribute 'teleport_id'
AttributeError: 'PlayerPositionAndLookPacket' object has no attribute 'teleport_id'
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I tried to move the character 1 block forward, but I still didn't figure out how to write the PlayerPositionAndLookPacket package.
Code:
Error:
AttributeError: 'PlayerPositionAndLookPacket' object has no attribute 'teleport_id'
The text was updated successfully, but these errors were encountered: