Interface BlockStateModelPartExtension
- All Known Subinterfaces:
BlockStateModelPart
- All Known Implementing Classes:
SimpleModelWrapper
public interface BlockStateModelPartExtension
-
Method Summary
Modifier and TypeMethodDescriptiondefault TriStateControls the AO behavior for all quads of this model.private BlockStateModelPartself()
-
Method Details
-
ambientOcclusion
Controls the AO behavior for all quads of this model. The default behavior is to use AO unless the block emits light,TriState.TRUEandTriState.FALSEforce AO to be enabled and disabled respectively, regardless of the block emitting light or not.can be used to disable AO for a specific quad even if this method says otherwise.invalid reference
BakedQuad#hasAmbientOcclusion()This method cannot force AO if the global smooth lighting video setting is disabled.
- Returns:
TriState.TRUEto force-enable AO,TriState.FALSEto force-disable AO orTriState.DEFAULTto use vanilla AO behavior
-
self
-