예제 #1
0
 @Override
 public void renderTileEntityAt(
     TileEntity tile, double par2, double par4, double par6, float par8) {
   if (this.doRenderModel((RotaryCraftTileEntity) tile))
     this.renderTileEntityExtractorAt((TileEntityExtractor) tile, par2, par4, par6, par8);
   if (((RotaryCraftTileEntity) tile).isInWorld() && MinecraftForgeClient.getRenderPass() == 1) {
     IORenderer.renderIO(tile, par2, par4, par6);
   }
 }
 @Override
 public void renderTileEntityAt(
     TileEntity tile, double par2, double par4, double par6, float par8) {
   if (this.doRenderModel((TileEntityReactorBase) tile))
     this.renderTileEntityHeavyPumpAt((TileEntityHeavyPump) tile, par2, par4, par6, par8);
   if (((TileEntityReactorBase) tile).isInWorld() && MinecraftForgeClient.getRenderPass() == 1) {
     IORenderer.renderIO(tile, par2, par4, par6);
     // IOAPI.renderIO((ShaftMachine)tile, par2, par4, par6);
   }
 }
 @Override
 public void renderTileEntityAt(
     TileEntity tile, double par2, double par4, double par6, float par8) {
   if (this.doRenderModel((RotaryCraftTileEntity) tile))
     this.renderTileEntityFillingStationAt(
         (TileEntityFillingStation) tile, par2, par4, par6, par8);
   if (((RotaryCraftTileEntity) tile).isInWorld() && MinecraftForgeClient.getRenderPass() == 1) {
     this.renderLiquid(tile, par2, par4, par6);
     IORenderer.renderIO(tile, par2, par4, par6);
   }
   this.renderItem(tile, par2, par4, par6);
 }
예제 #4
0
 @Override
 public void renderTileEntityAt(
     TileEntity tile, double par2, double par4, double par6, float par8) {
   if (this.isValidMachineRenderpass((RotaryCraftTileEntity) tile))
     this.renderTileEntityFuelConverterAt((TileEntityFuelConverter) tile, par2, par4, par6, par8);
   if (((RotaryCraftTileEntity) tile).isInWorld() && MinecraftForgeClient.getRenderPass() == 1) {
     IORenderer.renderIO(tile, par2, par4, par6);
     this.renderFuels(
         (TileEntityFuelConverter) tile,
         par2,
         par4,
         par6,
         ((TileEntityFuelConverter) tile).BC_FUEL);
     this.renderFuels(
         (TileEntityFuelConverter) tile,
         par2,
         par4,
         par6,
         ((TileEntityFuelConverter) tile).JET_FUEL);
   }
 }