[REQUEST] Java
-
1)I want to go to the desired item in the hot slot, but I don’t understand the index of these slots from 35 to 45 or from 0 to 9?
2)And how to make head changes silent
-
- mc.thePlayer.inventory.currentItem
- if(packet instanceof C03PacketPlayer) packet.yaw = idk or packet.pitch = idk
-
1,2. mc src
-
1: mc.thePlayer.inventory.currentItem = slot (min 0, max 8 )
2: send a rotation packet -
best way to change yaw and pitch is to change event.yaw and pitch in motion event
-
@neptunenoodles @caex @icewormy3 but how do I indicate that I want to find a bow?
-
@zhao-yun
val slot = (0..8).firstOrNull { player.inventory.getStack(it).item == Items.BOW } ?: return@repeatable if (slot != player.inventory.selectedSlot) { network.sendPacket(UpdateSelectedSlotC2SPacket(slot)) }
-
@mems Does not work. You can give all the code in its normal form, I have already tried everything ?
-
@zhao-yun this may help you
1,2. mc src
-
@____ what is it?
-
@mems what code is needed for the player to press button 2
-
@icewormy3
I decided to write in such a way to understand how the command works
But nothing is displayed in the chat when the bow is in the hot slot -
@6sence said in [REQUEST] Java:
best way to change yaw and pitch is to change event.yaw and pitch in motion event
this is not intent base tutorial client bro
the real way is:
RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
-
@chocopiexd said in [REQUEST] Java:
@6sence said in [REQUEST] Java:
best way to change yaw and pitch is to change event.yaw and pitch in motion event
this is not intent base tutorial client bro
the real way is:
RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
smartarse event as in the litteral Event is in every base and if it doesn't have it I wouldn't consider it as a base since every other method is detectable.
-
@6sence said in [REQUEST] Java:
@chocopiexd said in [REQUEST] Java:
@6sence said in [REQUEST] Java:
best way to change yaw and pitch is to change event.yaw and pitch in motion event
this is not intent base tutorial client bro
the real way is:
RotationUtils.setTargetRotation(new Rotation(yaw,pitch)) // normal way RotationUtils.setTargetRotation(new Rotation(yaw,pitch),keepLength) // the keepLength parameter is like KeepRotationsLength setting in scaffold
smartarse event as in the litteral Event is in every base and if it doesn't have it I wouldn't consider it as a base since every other method is detectable.
not every base is the same
in most base:
event.setYaw(yaw) and event.setPitch(pitch)
in liquidbounce:
RotationUtils.setTargetRotation(new Rotation(yaw,pitch))
these 2 methods are the same, basically modifying the yaw and pitch value when sending player packets
-
the last 3 posts are stupid ^^
-
@chocopiexd exactly they're the same so why you being a smartarse about me helping zhao?