zPeanut / Hydrogen

An open source, mixin based ghost client for Minecraft 1.8.9 built on Minecraft Forge.
MIT License
147 stars 17 forks source link

rotation on bedaura #27

Closed ProfKambing closed 3 years ago

ProfKambing commented 3 years ago

i tried to add the setrotationyaw but its kinda retarded

Morten-Renner commented 3 years ago

I haven't tested it yet. But it seems fine so far.


A potential issue might be the following. Sending an additional packet could lead to an AC kick/ban due to packet spam. For some ACs we're already very close to the maximum.

Or it cloud interfere when a player hits an entity at the same time. For the server it would look like the player is looking at the bed and hitting an entity at a different direction. In my experience more ACs react to this than breaking a bed without looking at it.

Sending the PlayerLook packet should at least be optional. A Setting for it would be good.

Morten-Renner commented 3 years ago

Also please make sure next time that you commit with the default line seperators. We use CRLF the Windows default. Thats why git shows that every line changed.

ProfKambing commented 3 years ago

okay

ProfKambing commented 3 years ago

i could make it use yawrotation instead of packet

zPeanut commented 3 years ago

make it toggable and ill merge

zPeanut commented 3 years ago

also use yawrotation

ProfKambing commented 3 years ago

okay