• 如果您觉得本站非常有看点,那么赶紧使用Ctrl+D 收藏吧

Java TileEntityChestRenderer类的典型用法和代码示例

java 1次浏览

本文整理汇总了Java中net.minecraft.client.renderer.tileentity.TileEntityChestRenderer的典型用法代码示例。如果您正苦于以下问题:Java TileEntityChestRenderer类的具体用法?Java TileEntityChestRenderer怎么用?Java TileEntityChestRenderer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。

TileEntityChestRenderer类属于net.minecraft.client.renderer.tileentity包,在下文中一共展示了TileEntityChestRenderer类的1个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于我们的系统推荐出更棒的Java代码示例。

示例1: TileEntityRenderer

点赞 2

import net.minecraft.client.renderer.tileentity.TileEntityChestRenderer; //导入依赖的package包/类
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);
   }

}
 

开发者ID:HATB0T,
项目名称:RuneCraftery,
代码行数:19,
代码来源:TileEntityRenderer.java


版权声明:本文转自网络文章,转载此文章仅为分享知识,如有侵权,请联系管理员进行删除。
喜欢 (0)