Esempio n. 1
0
 @Override
 public void renderItem(ItemRenderType type, ItemStack item, Object... data) {
   render.renderTileEntityAt(new ShadowWellEntity(), 0, 0, 0, 0);
 }
 /** Associate a TileEntityRenderer with this TileEntitySpecialRenderer */
 public void setTileEntityRenderer(TileEntityRenderer par1TileEntityRenderer) {
   super.setTileEntityRenderer(par1TileEntityRenderer);
   skullRenderer = this;
 }
 public void setRendererDispatcher(TileEntityRendererDispatcher rendererDispatcherIn) {
   super.setRendererDispatcher(rendererDispatcherIn);
   instance = this;
 }
Esempio n. 4
0
 public static <T extends TileEntity> void bindTileEntitySpecialRenderer(
     Class<T> tileEntityClass, TileEntitySpecialRenderer<? super T> specialRenderer) {
   TileEntityRendererDispatcher.instance.mapSpecialRenderers.put(tileEntityClass, specialRenderer);
   specialRenderer.setRendererDispatcher(TileEntityRendererDispatcher.instance);
 }
 /** Associate a TileEntityRenderer with this TileEntitySpecialRenderer */
 public void setTileEntityRenderer(TileEntityRendererDispatcher par1TileEntityRenderer) {
   super.func_147497_a(par1TileEntityRenderer);
   renderer = this;
 }