mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-20 04:09:51 +00:00
Pass renderType to IForgeBakedModel.useAmbientOcclusion (#8834)
This commit is contained in:
5 files changed
+23
-3
No files matched your search
@@ -49,6 +49,11 @@ public interface IForgeBakedModel
|
||||
return self().useAmbientOcclusion();
|
||||
}
|
||||
|
||||
default boolean useAmbientOcclusion(BlockState state, RenderType renderType)
|
||||
{
|
||||
return self().useAmbientOcclusion(state);
|
||||
}
|
||||
|
||||
/**
|
||||
* Applies a transform for the given {@link ItemTransforms.TransformType} and {@code applyLeftHandTransform}, and
|
||||
* returns the model to be rendered.
|
||||
|
||||
Reference in new issue
Block a user