Pass renderType to IForgeBakedModel.useAmbientOcclusion (#8834)

This commit is contained in:
bdew authored and GitHub committed 2022-07-09 11:20:18 -04:00
1 parent b1ed321438
commit cce002ad29
5 files changed
+23 -3

No files matched your search

@@ -57,6 +57,12 @@ public abstract class BakedModelWrapper<T extends BakedModel> implements BakedMo
return originalModel.useAmbientOcclusion(state);
}
@Override
public boolean useAmbientOcclusion(BlockState state, RenderType renderType)
{
return originalModel.useAmbientOcclusion(state, renderType);
}
@Override
public boolean isGui3d()
{