コード例 #1
0
 @Override
 public void doRenderShadowAndFire(
     Entity entity,
     double p_76979_2_,
     double p_76979_4_,
     double p_76979_6_,
     float p_76979_8_,
     float p_76979_9_) {
   Modchu_Render render = renderMapGet(entity);
   if (render != null)
     render.doRenderShadowAndFire(
         entity, p_76979_2_, p_76979_4_, p_76979_6_, p_76979_8_, p_76979_9_);
   else
     super.doRenderShadowAndFire(
         entity, p_76979_2_, p_76979_4_, p_76979_6_, p_76979_8_, p_76979_9_);
 }
コード例 #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));
   }
 }