MCCTeam / Minecraft-Console-Client

Lightweight console for Minecraft chat and automated scripts
https://mccteam.github.io
Other
1.67k stars 402 forks source link

Fix prevent AntiCheat Block Breaking (In Scripts) #2697

Open Nekiplay opened 8 months ago

Nekiplay commented 8 months ago
Nekiplay commented 8 months ago

image

It remains to transfer part of the logic from here for auto-detection of the block breaking side, if it will be realized by someone I would not remove the manual indication of the block breaking side as well

Nekiplay commented 8 months ago

Ready for review

milutinke commented 7 months ago

Looks good. Also what is preventing you from porting that getDirection method to the MCC? If it's the mc.player.GetEyeHeight, the eye height is 1.62 blocks high, so it can be hardcoded. Also, where is that method from by the way?

Nekiplay commented 7 months ago

Looks good. Also what is preventing you from porting that getDirection method to the MCC? If it's the mc.player.GetEyeHeight, the eye height is 1.62 blocks high, so it can be hardcoded. Also, where is that method from by the way?

getDirection I probably won't reschedule. getDirection method from Meteor Client GetHorizontalFacing from Minecraft Code

milutinke commented 5 months ago

Looks good. Also what is preventing you from porting that getDirection method to the MCC? If it's the mc.player.GetEyeHeight, the eye height is 1.62 blocks high, so it can be hardcoded. Also, where is that method from by the way?

getDirection I probably won't reschedule. getDirection method from Meteor Client GetHorizontalFacing from Minecraft Code

Does this work as is without getDirection method?