Sets the rotation of the entity. Args: yaw, pitch (both in degrees)
(float yaw, float pitch)
| 373 | * Sets the rotation of the entity. Args: yaw, pitch (both in degrees) |
| 374 | */ |
| 375 | protected void setRotation(float yaw, float pitch) |
| 376 | { |
| 377 | this.rotationYaw = yaw % 360.0F; |
| 378 | this.rotationPitch = pitch % 360.0F; |
| 379 | } |
| 380 | |
| 381 | /** |
| 382 | * Sets the x,y,z of the entity from the given parameters. Also seems to set up a bounding box. |
no outgoing calls
no test coverage detected