Java 类net.minecraft.client.renderer.tileentity.TileEntityMobSpawnerRenderer 实例源码

项目:RuneCraftery    文件:TileEntityRenderer.java   
private TileEntityRenderer() {
   this.field_76966_m.put(TileEntitySign.class, new TileEntitySignRenderer());
   this.field_76966_m.put(TileEntityMobSpawner.class, new TileEntityMobSpawnerRenderer());
   this.field_76966_m.put(TileEntityPiston.class, new TileEntityRendererPiston());
   this.field_76966_m.put(TileEntityChest.class, new TileEntityChestRenderer());
   this.field_76966_m.put(TileEntityEnderChest.class, new TileEntityEnderChestRenderer());
   this.field_76966_m.put(TileEntityEnchantmentTable.class, new RenderEnchantmentTable());
   this.field_76966_m.put(TileEntityEndPortal.class, new RenderEndPortal());
   this.field_76966_m.put(TileEntityBeacon.class, new TileEntityBeaconRenderer());
   this.field_76966_m.put(TileEntitySkull.class, new TileEntitySkullRenderer());
   Iterator var1 = this.field_76966_m.values().iterator();

   while(var1.hasNext()) {
      TileEntitySpecialRenderer var2 = (TileEntitySpecialRenderer)var1.next();
      var2.func_76893_a(this);
   }

}
项目:DecompiledMinecraft    文件:RenderMinecartMobSpawner.java   
protected void func_180560_a(EntityMinecartMobSpawner minecart, float partialTicks, IBlockState state)
{
    super.func_180560_a(minecart, partialTicks, state);

    if (state.getBlock() == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.renderMob(minecart.func_98039_d(), minecart.posX, minecart.posY, minecart.posZ, partialTicks);
    }
}
项目:BaseClient    文件:RenderMinecartMobSpawner.java   
protected void func_180560_a(EntityMinecartMobSpawner minecart, float partialTicks, IBlockState state)
{
    super.func_180560_a(minecart, partialTicks, state);

    if (state.getBlock() == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.renderMob(minecart.func_98039_d(), minecart.posX, minecart.posY, minecart.posZ, partialTicks);
    }
}
项目:BaseClient    文件:RenderMinecartMobSpawner.java   
protected void func_180560_a(EntityMinecartMobSpawner minecart, float partialTicks, IBlockState state)
{
    super.func_180560_a(minecart, partialTicks, state);

    if (state.getBlock() == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.renderMob(minecart.func_98039_d(), minecart.posX, minecart.posY, minecart.posZ, partialTicks);
    }
}
项目:Resilience-Client-Source    文件:RenderMinecartMobSpawner.java   
protected void func_147910_a(EntityMinecartMobSpawner p_147911_1_, float p_147911_2_, Block p_147911_3_, int p_147911_4_)
{
    super.func_147910_a(p_147911_1_, p_147911_2_, p_147911_3_, p_147911_4_);

    if (p_147911_3_ == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.func_147517_a(p_147911_1_.func_98039_d(), p_147911_1_.posX, p_147911_1_.posY, p_147911_1_.posZ, p_147911_2_);
    }
}
项目:Cauldron    文件:RenderMinecartMobSpawner.java   
protected void func_147910_a(EntityMinecartMobSpawner p_147910_1_, float p_147910_2_, Block p_147910_3_, int p_147910_4_)
{
    super.func_147910_a(p_147910_1_, p_147910_2_, p_147910_3_, p_147910_4_);

    if (p_147910_3_ == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.func_147517_a(p_147910_1_.func_98039_d(), p_147910_1_.posX, p_147910_1_.posY, p_147910_1_.posZ, p_147910_2_);
    }
}
项目:Cauldron    文件:RenderMinecartMobSpawner.java   
protected void func_147910_a(EntityMinecartMobSpawner p_147910_1_, float p_147910_2_, Block p_147910_3_, int p_147910_4_)
{
    super.func_147910_a(p_147910_1_, p_147910_2_, p_147910_3_, p_147910_4_);

    if (p_147910_3_ == Blocks.mob_spawner)
    {
        TileEntityMobSpawnerRenderer.func_147517_a(p_147910_1_.func_98039_d(), p_147910_1_.posX, p_147910_1_.posY, p_147910_1_.posZ, p_147910_2_);
    }
}
项目:RuneCraftery    文件:RenderMinecartMobSpawner.java   
protected void func_98192_a(EntityMinecartMobSpawner p_98192_1_, float p_98192_2_, Block p_98192_3_, int p_98192_4_) {
   super.func_94144_a(p_98192_1_, p_98192_2_, p_98192_3_, p_98192_4_);
   if(p_98192_3_ == Block.field_72065_as) {
      TileEntityMobSpawnerRenderer.func_98144_a(p_98192_1_.func_98039_d(), p_98192_1_.field_70165_t, p_98192_1_.field_70163_u, p_98192_1_.field_70161_v, p_98192_2_);
   }

}
项目:RuneCraftery    文件:RenderMinecartMobSpawner.java   
protected void func_98192_a(EntityMinecartMobSpawner par1EntityMinecartMobSpawner, float par2, Block par3Block, int par4)
{
    super.renderBlockInMinecart(par1EntityMinecartMobSpawner, par2, par3Block, par4);

    if (par3Block == Block.mobSpawner)
    {
        TileEntityMobSpawnerRenderer.func_98144_a(par1EntityMinecartMobSpawner.func_98039_d(), par1EntityMinecartMobSpawner.posX, par1EntityMinecartMobSpawner.posY, par1EntityMinecartMobSpawner.posZ, par2);
    }
}
项目:CTMGen    文件:ClientProxy.java   
@Override
public void registerRenderers() {
    renderers.put(TileEntityControlledSpawner.class, new TileEntityMobSpawnerRenderer());

    for (TileEntitySpecialRenderer tesr : renderers.values()) {
        tesr.setTileEntityRenderer(TileEntityRenderer.instance);
    }
    TileEntityRenderer.instance.specialRendererMap.putAll(renderers);
}
项目:BetterNutritionMod    文件:RenderMinecartMobSpawner.java   
protected void func_98192_a(EntityMinecartMobSpawner par1EntityMinecartMobSpawner, float par2, Block par3Block, int par4)
{
    super.renderBlockInMinecart(par1EntityMinecartMobSpawner, par2, par3Block, par4);

    if (par3Block == Block.mobSpawner)
    {
        TileEntityMobSpawnerRenderer.func_98144_a(par1EntityMinecartMobSpawner.func_98039_d(), par1EntityMinecartMobSpawner.posX, par1EntityMinecartMobSpawner.posY, par1EntityMinecartMobSpawner.posZ, par2);
    }
}
项目:OldMods    文件:ToggleSpawners.java   
private void registerTileEntityRenderer()
{
    ClientRegistry.bindTileEntitySpecialRenderer( ToggleableMobSpawnerTileEntity.class, new TileEntityMobSpawnerRenderer() );
}