[REQUEST] Java
-
@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
-
@zhao-yun this may help you
1,2. mc src
-
@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)) }
-
@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
-
@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.
-
@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
-
@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