Topic category: Help with modding (Java Edition)
I wanted to do a P90 but someone gave me a good idea and told me to make a "knockback" for the user of the weapon.
So when you shoot the weapon your camera would go up a bit.
So i made a new procedure etc...
But then the console go this error for me.
C:\JUST MY FOLDERS\ProcedureP90fires.java:19: error: incompatible types: possible lossy conversion from double to float entity.rotationYaw = Math.random();
C:\JUST MY FOLDERS\ProcedureP90fires.java:20: error: incompatible types: possible lossy conversion from double to float entity.rotationPitch = Math.random();