mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-25 22:07:59 +01:00
Misc cleanup
This commit is contained in:
parent
51d2e28375
commit
7a8a1bb655
3 changed files with 4 additions and 11 deletions
|
@ -19,9 +19,6 @@ class DummyPony extends DummyPlayer implements IPreviewModel, ModelAttributes.Sw
|
|||
super(world, textures);
|
||||
}
|
||||
|
||||
public void setWet(boolean wet) {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldUpdateRegistration(Pony pony) {
|
||||
return false;
|
||||
|
@ -41,6 +38,6 @@ class DummyPony extends DummyPlayer implements IPreviewModel, ModelAttributes.Sw
|
|||
.getPony(this)
|
||||
.getMetadata()
|
||||
.getRace()
|
||||
.getModelId(super.getModel().contains("slim"));
|
||||
.getModelId(getTextures().usesThinSkin());
|
||||
}
|
||||
}
|
||||
|
|
|
@ -23,7 +23,7 @@ class GuiSkinsMineLP extends GuiSkins {
|
|||
|
||||
private IPonyManager ponyManager = MineLittlePony.getInstance().getManager();
|
||||
|
||||
private static final String[] panoramas = new String[] {
|
||||
private static final String[] PANORAMAS = new String[] {
|
||||
"minelittlepony:textures/cubemap/sugarcubecorner",
|
||||
"minelittlepony:textures/cubemap/quillsandsofas",
|
||||
"minelittlepony:textures/cubemap/sweetappleacres"
|
||||
|
@ -66,9 +66,9 @@ class GuiSkinsMineLP extends GuiSkins {
|
|||
|
||||
@Override
|
||||
protected Identifier getBackground() {
|
||||
int i = (int)Math.floor(Math.random() * panoramas.length);
|
||||
int i = (int)Math.floor(Math.random() * PANORAMAS.length);
|
||||
|
||||
return new Identifier(panoramas[i]);
|
||||
return new Identifier(PANORAMAS[i]);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
@ -27,10 +27,6 @@ class PonyPreview extends PlayerPreview {
|
|||
return new DummyPony(world, textures);
|
||||
}
|
||||
|
||||
public void setWet(boolean isWet) {
|
||||
apply(p -> ((DummyPony)p).setWet(isWet));;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Identifier getBlankSteveSkin(SkinType type) {
|
||||
if (type == SkinType.SKIN) {
|
||||
|
|
Loading…
Reference in a new issue