mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2025-01-09 13:56:04 +01:00
0c611dbcb3
- Refactor InstancedRenderRegistry to allow for 3rd party TEs to have instances - Add ChestInstance, incomplete but there - Add basic api for building vanilla formatted models - Better instance factory registration
8 lines
130 B
Java
8 lines
130 B
Java
package com.jozufozu.flywheel.util;
|
|
|
|
public class RenderMath {
|
|
|
|
public static byte nb(float f) {
|
|
return (byte) (f * 127);
|
|
}
|
|
}
|