Novârch Posted June 18, 2020 Posted June 18, 2020 (edited) I've created a custom entity that I want to remotely control, I've accomplished this by sending packets from InputEvent and ClientTickEvent to move and setting it as the renderViewEntity, the issue is that when I set the entity's pitch from ClientTickEvent ingame it always tries to snap back to 0, the packet in question can be found here and the event I call it from here. Edit: SOLVED by calling setRotation from inside the entities tick method, have no idea why this changed anything. Edited June 18, 2020 by Novârch Quote It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".
[NoOneButNo] Posted June 18, 2020 Posted June 18, 2020 Try to make a dummy packet that changes the pitch. If it doesn't... Quote
Novârch Posted June 18, 2020 Author Posted June 18, 2020 48 minutes ago, [NoOneButNo] said: Try to make a dummy packet that changes the pitch. If it doesn't... The pitch DOES change, the issue is that it snaps back to 0 every tick. Quote It's sad how much time mods spend saying "x is no longer supported on this forum. Please update to a modern version of Minecraft to receive support".
[NoOneButNo] Posted June 18, 2020 Posted June 18, 2020 (edited) You can try to reference the pitch by "call hierarchy". See if there is something that snaps it back to zero in vanilla classes. Edited June 18, 2020 by [NoOneButNo] 1 Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.