Update to forge model changes

This commit is contained in:
Bernhard Bonigl committed 2015-12-17 19:02:13 +01:00
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