Thanks for your reply. You gave me another idea for a solution.
19 : 1 will cause a block update. 2 will send the change to clients. 16 will prevent neighbor reactions (e.g. fences connecting, observers pulsing).
That what I found in Minecraft source for "setBlockState" Function. 🤨
ok can u help write the code? i started learning to mod a few weeks ago all i know is items armors block recipes and other stuff. also I already have a projectile class named Ak47ArrowEntity
You have to create a new bullet entity class but you can use the snowball as a template. In kinematics there's not much difference between a snowball and a bullet. If it looks and hurts like a bullet then it's a bullet. But you have to register it as a new entity.