public interface CasingFaceQuadOverride
Casing the module is currently installed in are collected.
Used for example by the facade module. Note that returning anything non-null will lead to only the
returned quads being used. Also note that this is called directly from IBakedModel.getQuads(IBlockState, EnumFacing, long),
so calls to this method may not come from the main thread.
| Modifier and Type | Method and Description |
|---|---|
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> |
getCasingFaceQuads(net.minecraft.block.state.IBlockState state,
net.minecraft.util.EnumFacing side,
long randomSeed)
Called to obtain quads to use for the specified side instead of the casing's default ones.
|
@Nullable
java.util.List<net.minecraft.client.renderer.block.model.BakedQuad> getCasingFaceQuads(@Nullable
net.minecraft.block.state.IBlockState state,
net.minecraft.util.EnumFacing side,
long randomSeed)
IBakedModel.getQuads(IBlockState, EnumFacing, long) logic.state - the casing's block state.side - the side to obtain replacement quads for.randomSeed - the random seed to use for the quad generation.