mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 13:57:59 +01:00
fixed indentations i think
SHOULD be fine now
This commit is contained in:
parent
a1e16238e2
commit
7bc2052d37
2 changed files with 11 additions and 11 deletions
|
@ -14,7 +14,7 @@ public enum SizePreset implements Size {
|
||||||
BULKY (0xce3254, 0.5f, 1, 1.05F),
|
BULKY (0xce3254, 0.5f, 1, 1.05F),
|
||||||
LANKY (0x3254ce, 0.45F, 0.85F, 0.9F),
|
LANKY (0x3254ce, 0.45F, 0.85F, 0.9F),
|
||||||
NORMAL (0x000000, 0.4f, 0.8F, 0.8F),
|
NORMAL (0x000000, 0.4f, 0.8F, 0.8F),
|
||||||
STOCKY (0xb2e7dd, 0.45F, 0.8F, 0.8F),
|
STOCKY (0xb2e7dd, 0.45F, 0.8F, 0.8F),
|
||||||
SQUAT (0xa3d2c7, 0.4F, 0.7F, 0.67F),
|
SQUAT (0xa3d2c7, 0.4F, 0.7F, 0.67F),
|
||||||
YEARLING(0x53beff, 0.4F, 0.6F, 0.65F),
|
YEARLING(0x53beff, 0.4F, 0.6F, 0.65F),
|
||||||
FOAL (0xffbe53, 0.25f, 0.6F, 0.5F),
|
FOAL (0xffbe53, 0.25f, 0.6F, 0.5F),
|
||||||
|
|
|
@ -39,7 +39,7 @@ public enum PonyTransformation {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
STOCKY(SizePreset.STOCKY, 0, 3F, 0.75F) {
|
STOCKY(SizePreset.STOCKY, 0, 3F, 0.75F) {
|
||||||
@Override
|
@Override
|
||||||
public void transform(PonyModel<?> model, BodyPart part, MatrixStack stack) {
|
public void transform(PonyModel<?> model, BodyPart part, MatrixStack stack) {
|
||||||
if (model.getAttributes().isSwimming) stack.translate(0, -0.3F, 0);
|
if (model.getAttributes().isSwimming) stack.translate(0, -0.3F, 0);
|
||||||
|
@ -51,7 +51,7 @@ public enum PonyTransformation {
|
||||||
switch (part) {
|
switch (part) {
|
||||||
case NECK:
|
case NECK:
|
||||||
stack.translate(-0.015F, -0.05F, -0.04F);
|
stack.translate(-0.015F, -0.05F, -0.04F);
|
||||||
stack.scale(1.4F, 1, 1.2F);
|
stack.scale(1.4F, 1, 1.2F);
|
||||||
if (model.getAttributes().isCrouching) stack.translate(-0.025F, 0.03F, 0.15F);
|
if (model.getAttributes().isCrouching) stack.translate(-0.025F, 0.03F, 0.15F);
|
||||||
if (model.getAttributes().isSitting) stack.translate(0, 0, 0.03F);
|
if (model.getAttributes().isSitting) stack.translate(0, 0, 0.03F);
|
||||||
break;
|
break;
|
||||||
|
@ -59,15 +59,15 @@ public enum PonyTransformation {
|
||||||
if (model.getAttributes().isLyingDown) stack.translate(0, -0.05F, 0);
|
if (model.getAttributes().isLyingDown) stack.translate(0, -0.05F, 0);
|
||||||
if (model.getAttributes().isCrouching) stack.translate(0, 0.1F, 0);
|
if (model.getAttributes().isCrouching) stack.translate(0, 0.1F, 0);
|
||||||
break;
|
break;
|
||||||
case BODY:
|
case BODY:
|
||||||
stack.translate(0, -0.15F, -0.05F);
|
stack.translate(0, -0.15F, -0.05F);
|
||||||
if (model.getAttributes().isCrouching) stack.translate(0, -0.07F, 0.04F);
|
if (model.getAttributes().isCrouching) stack.translate(0, -0.07F, 0.04F);
|
||||||
if (model.getAttributes().isLyingDown) stack.translate(0, -0.1F, 0);
|
if (model.getAttributes().isLyingDown) stack.translate(0, -0.1F, 0);
|
||||||
stack.scale(1.4F, 1.3F, 1.1F);
|
stack.scale(1.4F, 1.3F, 1.1F);
|
||||||
break;
|
break;
|
||||||
case LEGS:
|
case LEGS:
|
||||||
stack.translate(0, 0, -0.1F);
|
stack.translate(0, 0, -0.1F);
|
||||||
if (model.getAttributes().isCrouching) stack.translate(0, 0, 0.1F);
|
if (model.getAttributes().isCrouching) stack.translate(0, 0, 0.1F);
|
||||||
stack.scale(1.1F, 1, 1.1F);
|
stack.scale(1.1F, 1, 1.1F);
|
||||||
break;
|
break;
|
||||||
case BACK:
|
case BACK:
|
||||||
|
|
Loading…
Reference in a new issue