예제 #1
0
 public Modchu_RenderLiving(HashMap<String, Object> map) {
   super((ModelBase) map.get("Object"), (Float) map.get("Float"));
   renderManager = (RenderManager) Modchu_AS.get(Modchu_AS.renderManagerInstance);
   Modchu_Debug.lDebug("Modchu_RenderLiving init renderManager=" + renderManager);
   map.put("base", this);
   Object instance = Modchu_Main.newModchuCharacteristicInstance(map);
   Modchu_Debug.mDebug("Modchu_RenderLiving init instance=" + instance);
   master =
       instance != null && instance instanceof Modchu_IRenderLivingMaster
           ? (Modchu_IRenderLivingMaster) instance
           : null;
 }
예제 #2
0
 @Override
 public void doRender(Entity entity, double d, double d1, double d2, float d3, float d4) {
   Modchu_Debug.mDebug("Modchu_AllRender doRender");
   Modchu_Render render = renderMapGet(entity);
   if (render != null) {
     setShadowSize(Modchu_AS.getFloat("Render", "shadowSize", render));
     // setShadowSize(0.0F);
     // render.setShadowSize(0.0F);
     render.doRender(entity, d, d1, d2, d3, d4);
   } else {
     Modchu_Debug.mDebug(
         "Modchu_AllRender doRender render == null !! entity="
             + entity
             + " entity.getClass()="
             + (entity != null ? entity.getClass() : null));
   }
 }
예제 #3
0
 public Modchu_AllRender(HashMap<String, Object> map) {
   super();
   renderManager = (RenderManager) Modchu_AS.get(Modchu_AS.renderManagerInstance);
   Modchu_Debug.mDebug("Modchu_AllRender init");
 }