mirror of
https://github.com/GTNewHorizons/Mantle.git
synced 2026-11-20 12:09:44 +00:00
Update to forge model changes
This commit is contained in:
1 parent
c6963535fd
commit
13da0c4be1
3 files changed
+36
-47
No files matched your search
@@ -35,14 +35,14 @@ public class BlockItemModelWrapper implements IPerspectiveAwareModel, IFlexibleB
|
||||
}
|
||||
|
||||
@Override
|
||||
public Pair<IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
|
||||
public Pair<? extends IFlexibleBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
|
||||
Matrix4f matrix = null;
|
||||
// fix transformation in hand
|
||||
if(cameraTransformType == ItemCameraTransforms.TransformType.THIRD_PERSON) {
|
||||
matrix = THIRD_PERSON_BLOCK_TRANSFORM;
|
||||
}
|
||||
|
||||
return Pair.of((IBakedModel) this, matrix);
|
||||
return Pair.of(this, matrix);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user