So im trying to make automatic guns on 1.16. On 1.1 i did this with DataPacketReceiveEvent but that event is gone and i cant do that with PlayerInteractEvent because if you hold screen it registers it as 1 click. Any suggestions how to do this?
I said that it was possible on 1.1 to just hold finger on screen and it will send player action packets but on 1.16 if you hold it will only send 1
What do you mean? The behavior you are describing still happens on 1.16: https://streamable.com/48ldag
The client sends an animate packet, then an inventory transaction packet, then afterwards a mob equipment packet
yea, but thats the point you can make automatic guns like on pc, hold to shoot. but on 1.16 only way i figured out is adding food items and making autofire through them
Using items like snowball, splash potions, exp bottle etc should work? You just need to cancel PlayerInteractEvent to prevent them from actually throwing it