mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14: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) {
|
||||
this.ponylevel = ponylevel;
|
||||
}
|
||||
|
||||
public float getGlobalScaleFactor() {
|
||||
return showscale ? 1F : 1.3F;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -25,17 +25,11 @@ public enum PonySize implements ITriggerPixelMapped<PonySize> {
|
|||
}
|
||||
|
||||
public float getShadowSize() {
|
||||
if (MineLittlePony.getConfig().showscale) {
|
||||
return shadowSize * 0.9F;
|
||||
}
|
||||
return shadowSize;
|
||||
return shadowSize * MineLittlePony.getConfig().getGlobalScaleFactor();
|
||||
}
|
||||
|
||||
public float getScaleFactor() {
|
||||
if (MineLittlePony.getConfig().showscale) {
|
||||
return scale * 0.9F;
|
||||
}
|
||||
return scale;
|
||||
return scale * MineLittlePony.getConfig().getGlobalScaleFactor();
|
||||
}
|
||||
|
||||
public PonyTransformation getTranformation() {
|
||||
|
|
Loading…
Reference in a new issue