mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-22 12:37:59 +01:00
Prevent wings from being considered for arrows.
This commit is contained in:
parent
8fe82a826f
commit
379388bb3f
1 changed files with 4 additions and 0 deletions
|
@ -31,17 +31,21 @@ public class PegasusWings implements IPonyPart, PonyModelConstants {
|
||||||
|
|
||||||
for (int i = 0; i < leftWing.length; i++) {
|
for (int i = 0; i < leftWing.length; i++) {
|
||||||
this.leftWing[i] = new ModelRenderer(pony, 56, 32);
|
this.leftWing[i] = new ModelRenderer(pony, 56, 32);
|
||||||
|
this.pony.boxList.remove(this.leftWing[i]);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < rightWing.length; i++) {
|
for (int i = 0; i < rightWing.length; i++) {
|
||||||
this.rightWing[i] = new ModelRenderer(pony, 56, 16);
|
this.rightWing[i] = new ModelRenderer(pony, 56, 16);
|
||||||
|
this.pony.boxList.remove(this.rightWing[i]);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < leftWingExt.length; i++) {
|
for (int i = 0; i < leftWingExt.length; i++) {
|
||||||
this.leftWingExt[i] = new ModelRenderer(pony, 56, 35);
|
this.leftWingExt[i] = new ModelRenderer(pony, 56, 35);
|
||||||
|
this.pony.boxList.remove(this.leftWingExt[i]);
|
||||||
}
|
}
|
||||||
for (int i = 0; i < rightWingExt.length; i++) {
|
for (int i = 0; i < rightWingExt.length; i++) {
|
||||||
this.rightWingExt[i] = new ModelRenderer(pony, 56, 19);
|
this.rightWingExt[i] = new ModelRenderer(pony, 56, 19);
|
||||||
// this seems to hide the wings being a different size when folded
|
// this seems to hide the wings being a different size when folded
|
||||||
this.rightWingExt[i].mirror = true;
|
this.rightWingExt[i].mirror = true;
|
||||||
|
this.pony.boxList.remove(this.rightWingExt[i]);
|
||||||
}
|
}
|
||||||
|
|
||||||
initPositions(yOffset, stretch);
|
initPositions(yOffset, stretch);
|
||||||
|
|
Loading…
Reference in a new issue