mirror of
https://github.com/refactorinqq/SLC-1.8.9.git
synced 2024-11-10 09:11:32 +01:00
Merge pull request #15 from Silent-Client/TEST2
Update AbstractShieldRenderer.java
This commit is contained in:
commit
d987768640
@ -62,7 +62,7 @@ public class AbstractShieldRenderer extends ModelBase implements LayerRenderer<A
|
|||||||
}
|
}
|
||||||
|
|
||||||
public double getShieldScale(String model) {
|
public double getShieldScale(String model) {
|
||||||
if(model.equals("roundshield") || model.equals("hexagon_shield") || model.equals("shield_dollar")) {
|
if(model.equals("roundshield") || model.equals("hexagon_shield") || model.equals("shield_dollar") || model.equals("zzv4shield2")) {
|
||||||
return 0.100;
|
return 0.100;
|
||||||
}
|
}
|
||||||
return 0.007;
|
return 0.007;
|
||||||
@ -71,7 +71,6 @@ public class AbstractShieldRenderer extends ModelBase implements LayerRenderer<A
|
|||||||
private void applyArmTransformations(String model, boolean paramBoolean1, boolean paramBoolean2, boolean chestplate) {
|
private void applyArmTransformations(String model, boolean paramBoolean1, boolean paramBoolean2, boolean chestplate) {
|
||||||
switch(model) {
|
switch(model) {
|
||||||
case "shield":
|
case "shield":
|
||||||
case "zzv4shield2":
|
|
||||||
GlStateManager.translate(0.33, 0.45, 0.38);
|
GlStateManager.translate(0.33, 0.45, 0.38);
|
||||||
BlcGlStateManager.b(180.0f, 0.0f, 1.0f, 1.0f);
|
BlcGlStateManager.b(180.0f, 0.0f, 1.0f, 1.0f);
|
||||||
BlcGlStateManager.b(-90.0f, 1.0f, 0.0f, 0.0f);
|
BlcGlStateManager.b(-90.0f, 1.0f, 0.0f, 0.0f);
|
||||||
@ -82,6 +81,7 @@ public class AbstractShieldRenderer extends ModelBase implements LayerRenderer<A
|
|||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case "roundshield":
|
case "roundshield":
|
||||||
|
case "zzv4shield2":
|
||||||
GlStateManager.translate(0.33, 0.35, 0);
|
GlStateManager.translate(0.33, 0.35, 0);
|
||||||
BlcGlStateManager.b(-90.0F, 0.0F, 1.0F, 0.0F);
|
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(paramBoolean1 ? -0.10000000149011612D : 0.0D, paramBoolean1 ? 0.45D : 0.25D, paramBoolean2 ? -0.1399999964237213D : -0.2D);
|
||||||
|
Loading…
Reference in New Issue
Block a user