mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Rework the base pony scaling to be less awkward
This commit is contained in:
parent
72a676b4bb
commit
f7052504e8
2 changed files with 6 additions and 8 deletions
|
@ -65,4 +65,8 @@ public class PonyConfig extends SensibleConfig implements Exposable {
|
||||||
public void setPonyLevel(PonyLevel ponylevel) {
|
public void setPonyLevel(PonyLevel ponylevel) {
|
||||||
this.ponylevel = ponylevel;
|
this.ponylevel = ponylevel;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public float getGlobalScaleFactor() {
|
||||||
|
return showscale ? 1F : 1.3F;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,17 +25,11 @@ public enum PonySize implements ITriggerPixelMapped<PonySize> {
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getShadowSize() {
|
public float getShadowSize() {
|
||||||
if (MineLittlePony.getConfig().showscale) {
|
return shadowSize * MineLittlePony.getConfig().getGlobalScaleFactor();
|
||||||
return shadowSize * 0.9F;
|
|
||||||
}
|
|
||||||
return shadowSize;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public float getScaleFactor() {
|
public float getScaleFactor() {
|
||||||
if (MineLittlePony.getConfig().showscale) {
|
return scale * MineLittlePony.getConfig().getGlobalScaleFactor();
|
||||||
return scale * 0.9F;
|
|
||||||
}
|
|
||||||
return scale;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public PonyTransformation getTranformation() {
|
public PonyTransformation getTranformation() {
|
||||||
|
|
Loading…
Reference in a new issue