This commit is contained in:
kirillsaint 2023-10-14 18:08:45 +06:00
parent 6d9f8ec011
commit c9afc53288

View File

@ -82,7 +82,6 @@ public class AbstractShieldRenderer extends ModelBase implements LayerRenderer<A
break;
case "roundshield":
case "zzv4shield2":
case "shield_v4":
GlStateManager.translate(0.33, 0.35, 0);
BlcGlStateManager.b(-90.0F, 0.0F, 1.0F, 0.0F);
BlcGlStateManager.b(paramBoolean1 ? -0.10000000149011612D : 0.0D, paramBoolean1 ? 0.45D : 0.25D, paramBoolean2 ? -0.1399999964237213D : -0.2D);
@ -109,6 +108,15 @@ public class AbstractShieldRenderer extends ModelBase implements LayerRenderer<A
GlStateManager.translate(0, 0, 0.06 + (paramBoolean2 ? 0.055 : 0));
}
break;
case "shield_v4":
GlStateManager.translate(0.33, 0.35, 0);
BlcGlStateManager.b(-90.0F, 0.0F, 1.0F, 0.0F);
BlcGlStateManager.b(paramBoolean1 ? -0.10000000149011612D : 0.0D, paramBoolean1 ? 0.45D : 0.25D, paramBoolean2 ? -0.1399999964237213D : -0.2D);
BlcGlStateManager.b(-180.0F, 0.0F, 0.0F, 1.0F);
if(chestplate) {
GlStateManager.translate(0, 0, -0.06 + (paramBoolean2 ? -0.055 : 0));
}
break;
}
}