Silent Server-side rotating and Checking for the Block beneath you
-
Hello everyone!
It will be important for me if anybody will answer in this topic/1/ In the first case, I'm making a huge script which can bypass some 1.12 servers, so I need to rotate the player's yaw only server-side because it looks awful when your screen is rotating with your head :d
/2/ Secondly, my new noFall bypass needs to check is there any block in the player's posY-0.01 which will doesn't use mc.thePlayer.onGround class
Thanks for everyone who know how to solve this and decided to help me! <З
-
Hello everyone!
It will be important for me if anybody will answer in this topic/1/ In the first case, I'm making a huge script which can bypass some 1.12 servers, so I need to rotate the player's yaw only server-side because it looks awful when your screen is rotating with your head :d
/2/ Secondly, my new noFall bypass needs to check is there any block in the player's posY-0.01 which will doesn't use mc.thePlayer.onGround class
Thanks for everyone who know how to solve this and decided to help me! <З
@dont_doubt
var Block = Java.type('net.minecraft.block.Block'); var BlockPos = Java.type('net.minecraft.util.BlockPos'); if (mc.theWorld.getBlockState(new BlockPos(mc.thePlayer.posX, mc.thePlayer.posY - 0.01, mc.thePlayer.posZ)).getBlock() == Block.getBlockById(0)) { // Check air block -
Hello everyone!
It will be important for me if anybody will answer in this topic/1/ In the first case, I'm making a huge script which can bypass some 1.12 servers, so I need to rotate the player's yaw only server-side because it looks awful when your screen is rotating with your head :d
/2/ Secondly, my new noFall bypass needs to check is there any block in the player's posY-0.01 which will doesn't use mc.thePlayer.onGround class
Thanks for everyone who know how to solve this and decided to help me! <З
@dont_doubt
if (event.getPacket() instanceof CPacketPlayer) {
event.getPacket().setYaw(yaw);
} -
idk if its correct but
var RotationUtils = Java.type('net.ccbluex.liquidbounce.utils.RotationUtils'); var Rotation = Java.type('net.ccbluex.liquidbounce.utils.Rotation'); RotationUtils.setTargetRotation(new Rotation(0, 70));
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login