mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37: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);
|
super(world, textures);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setWet(boolean wet) {
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean shouldUpdateRegistration(Pony pony) {
|
public boolean shouldUpdateRegistration(Pony pony) {
|
||||||
return false;
|
return false;
|
||||||
|
@ -41,6 +38,6 @@ class DummyPony extends DummyPlayer implements IPreviewModel, ModelAttributes.Sw
|
||||||
.getPony(this)
|
.getPony(this)
|
||||||
.getMetadata()
|
.getMetadata()
|
||||||
.getRace()
|
.getRace()
|
||||||
.getModelId(super.getModel().contains("slim"));
|
.getModelId(getTextures().usesThinSkin());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,7 +23,7 @@ class GuiSkinsMineLP extends GuiSkins {
|
||||||
|
|
||||||
private IPonyManager ponyManager = MineLittlePony.getInstance().getManager();
|
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/sugarcubecorner",
|
||||||
"minelittlepony:textures/cubemap/quillsandsofas",
|
"minelittlepony:textures/cubemap/quillsandsofas",
|
||||||
"minelittlepony:textures/cubemap/sweetappleacres"
|
"minelittlepony:textures/cubemap/sweetappleacres"
|
||||||
|
@ -66,9 +66,9 @@ class GuiSkinsMineLP extends GuiSkins {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected Identifier getBackground() {
|
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
|
@Override
|
||||||
|
|
|
@ -27,10 +27,6 @@ class PonyPreview extends PlayerPreview {
|
||||||
return new DummyPony(world, textures);
|
return new DummyPony(world, textures);
|
||||||
}
|
}
|
||||||
|
|
||||||
public void setWet(boolean isWet) {
|
|
||||||
apply(p -> ((DummyPony)p).setWet(isWet));;
|
|
||||||
}
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public Identifier getBlankSteveSkin(SkinType type) {
|
public Identifier getBlankSteveSkin(SkinType type) {
|
||||||
if (type == SkinType.SKIN) {
|
if (type == SkinType.SKIN) {
|
||||||
|
|
Loading…
Reference in a new issue