public interface IMultiRenderPassBlock
ConnectableIcon.ConnectableIcon| Modifier and Type | Method and Description |
|---|---|
net.minecraft.util.IIcon |
getIcon(int side,
int meta,
int renderPass)
Get the icon for the given parameters.
|
CustomRenderBlocks |
getRenderBlocks()
Get the
CustomRenderBlocks instance. |
int |
getRenderPasses()
Get the amount of required render passes.
|
void |
setInventoryBlock(boolean isInventoryBlock)
Define whether or not the current rendering is for an inventory block.
|
void |
setRenderBlocks(CustomRenderBlocks renderer)
Set the
CustomRenderBlocks instance. |
void |
setRenderPass(int pass)
Set the current pass to render at.
|
boolean |
shouldRender(int pass)
If the block should be rendered in this pass.
|
void |
updateTileEntity(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
Update the tile entity (for updating the icon) at the given coordinates.
|
net.minecraft.util.IIcon getIcon(int side,
int meta,
int renderPass)
side - The side to render for.meta - The metadata of the block that will be rendered.renderPass - The renderpass.int getRenderPasses()
void setRenderPass(int pass)
pass - The new render pass.boolean shouldRender(int pass)
pass - The pass to check.void setRenderBlocks(CustomRenderBlocks renderer)
CustomRenderBlocks instance.renderer - The CustomRenderBlocks instance.CustomRenderBlocks getRenderBlocks()
CustomRenderBlocks instance.CustomRenderBlocks instance.void updateTileEntity(net.minecraft.world.IBlockAccess world,
int x,
int y,
int z)
world - The world.x - X coordinate.y - Y coordinate.z - Z coordinate.void setInventoryBlock(boolean isInventoryBlock)
isInventoryBlock - The new value