Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

[1.7.2] Entity hovering problem


Recommended Posts

I have a bit of code which I use to make my entity hover in air.

The entity position is calculated by rayTrace of caster cursor pointer and set by setPositionAndRotation.

Everything is good, but server thinks it's hacking and kick entity if it's player.

I researched that code responsible for this mechanism is located in NetHandlerPlayServer.processPlayer.

If the hasMoved boolean would be public, that would be easy to workaround.

I also notice that this "bit of code" is called on both sides.

Link to comment
Share on other sites

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.