(Entity viewEntity)
| 4399 | } |
| 4400 | |
| 4401 | private static void setCameraOffset(Entity viewEntity) |
| 4402 | { |
| 4403 | if (viewEntity == null) |
| 4404 | { |
| 4405 | cameraOffsetX = 0; |
| 4406 | cameraOffsetZ = 0; |
| 4407 | } |
| 4408 | else |
| 4409 | { |
| 4410 | cameraOffsetX = (int)viewEntity.posX / 1000 * 1000; |
| 4411 | cameraOffsetZ = (int)viewEntity.posZ / 1000 * 1000; |
| 4412 | } |
| 4413 | } |
| 4414 | |
| 4415 | public static void setCameraShadow(float partialTicks) |
| 4416 | { |
no outgoing calls
no test coverage detected