コード例 #1
0
 @Override
 public boolean renderWorldBlock(
     IBlockAccess iBlockAccess,
     int x,
     int y,
     int z,
     Block block,
     int modelId,
     RenderBlocks renderBlocks) {
   // Modchu_Debug.mDebug("Modchu_SimpleBlockRenderingHandler renderWorldBlock");
   return master != null
       ? master.renderWorldBlock(iBlockAccess, x, y, z, block, modelId, renderBlocks)
       : false;
 }
コード例 #2
0
 @Override
 public int getRenderId() {
   // Modchu_Debug.mDebug("Modchu_SimpleBlockRenderingHandler getRenderId()="+(master != null ?
   // master.getRenderId() : -1));
   return master != null ? master.getRenderId() : -1;
 }
コード例 #3
0
 @Override
 public boolean shouldRender3DInInventory() {
   return master != null ? master.shouldRender3DInInventory() : false;
 }
コード例 #4
0
 @Override
 public void renderInventoryBlock(
     Block block, int metadata, int modelID, RenderBlocks renderBlocks) {
   if (master != null) master.renderInventoryBlock(block, metadata, modelID, renderBlocks);
 }