#Weapon recoil
1 messages · Page 1 of 1 (latest)
do u have reflect?
yes
can u try:
set player.getHandle().yaw to 45
And see if it has any effect not shure if this is a thing
u shure u have reflect?
i only had the config....
xd
no other way in vanilla?
don't think so not without teleporting or position packets
Bec with teleport you can shoot just before you hit the ground and your vel resets
U got an packet addon?
If u get this translated to skript it might will do the trick:
private void resetPitch(Player player) {
PacketPlayOutPosition posPacket = new PacketPlayOutPosition(0,0,0,0,45, Set.of(PacketPlayOutPosition.EnumPlayerTeleportFlags.a, PacketPlayOutPosition.EnumPlayerTeleportFlags.b, PacketPlayOutPosition.EnumPlayerTeleportFlags.c, PacketPlayOutPosition.EnumPlayerTeleportFlags.d), 1, true);
((CraftPlayer) player).getHandle().b.sendPacket(posPacket);
}
no 😦