Renames
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Refined Storage Changelog
|
||||
|
||||
### 1.4.13
|
||||
- Fixed Portable Grid model (raoulvdberge)
|
||||
- Fixed Portable Grid model (raoulvdberge, CyanideX)
|
||||
|
||||
### 1.4.12
|
||||
- Updated Forge to 2315 (raoulvdberge)
|
||||
|
||||
@@ -594,7 +594,7 @@ public final class RSUtils {
|
||||
tessellator.draw();
|
||||
}
|
||||
|
||||
public static final Matrix4f EMPTY_MATRIX = getTransform(0, 0, 0, 0, 0, 0, 1.0f).getMatrix();
|
||||
public static final Matrix4f EMPTY_MATRIX_TRANSFORM = getTransform(0, 0, 0, 0, 0, 0, 1.0f).getMatrix();
|
||||
|
||||
// From ForgeBlockStateV1
|
||||
private static final TRSRTransformation FLIP_X = new TRSRTransformation(null, null, new Vector3f(-1, 1, 1), null);
|
||||
|
||||
@@ -34,7 +34,7 @@ public class BakedModelPattern implements IBakedModel, IPerspectiveAwareModel {
|
||||
public Pair<? extends IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
|
||||
TRSRTransformation transform = RSUtils.getDefaultItemTransforms().get(cameraTransformType);
|
||||
|
||||
return Pair.of(this, transform == null ? RSUtils.EMPTY_MATRIX : transform.getMatrix());
|
||||
return Pair.of(this, transform == null ? RSUtils.EMPTY_MATRIX_TRANSFORM : transform.getMatrix());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -27,7 +27,7 @@ public class BakedModelPortableGrid implements IPerspectiveAwareModel {
|
||||
public Pair<? extends IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
|
||||
TRSRTransformation transform = RSUtils.getDefaultBlockTransforms().get(cameraTransformType);
|
||||
|
||||
return Pair.of(this, transform == null ? RSUtils.EMPTY_MATRIX : transform.getMatrix());
|
||||
return Pair.of(this, transform == null ? RSUtils.EMPTY_MATRIX_TRANSFORM : transform.getMatrix());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user