Update config to new system. Remove adaptor for now.

This commit is contained in:
Vincent Lee committed 2019-03-13 23:58:42 -05:00
1 parent 2500e3a52e
commit 2acde8a867
61 files changed
+317 -550

No files matched your search

@@ -30,7 +30,7 @@ public class LexiconModel implements IBakedModel {
public Pair<? extends IBakedModel, Matrix4f> handlePerspective(ItemCameraTransforms.TransformType cameraTransformType) {
if((cameraTransformType == ItemCameraTransforms.TransformType.FIRST_PERSON_RIGHT_HAND
|| cameraTransformType == ItemCameraTransforms.TransformType.FIRST_PERSON_LEFT_HAND)
&& ConfigHandler.lexicon3dModel)
&& ConfigHandler.CLIENT.lexicon3dModel.get())
return Pair.of(this, null);
IBakedModel original = Minecraft.getInstance().getBlockRendererDispatcher().getBlockModelShapes().getModelManager().getModel(path2D);
return original.handlePerspective(cameraTransformType);