mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-23 04:57:58 +01:00
Added unicorn models to all the stuffs
This commit is contained in:
parent
76044f17e6
commit
362f17ea49
4 changed files with 11 additions and 5 deletions
|
@ -58,10 +58,11 @@ public class PonyRenderManager {
|
||||||
// Preview on the select skin gui
|
// Preview on the select skin gui
|
||||||
ModUtilities.addRenderer(EntityPonyModel.class, new RenderPonyModel(manager));
|
ModUtilities.addRenderer(EntityPonyModel.class, new RenderPonyModel(manager));
|
||||||
|
|
||||||
registerPlayerSkin(manager, PlayerModels.EARTH);
|
for (PlayerModels i : PlayerModels.values()) {
|
||||||
registerPlayerSkin(manager, PlayerModels.PEGASUS);
|
if (i != PlayerModels.HUMAN) {
|
||||||
registerPlayerSkin(manager, PlayerModels.ALICORN);
|
registerPlayerSkin(manager, i);
|
||||||
registerPlayerSkin(manager, PlayerModels.ZEBRA);
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private void registerPlayerSkin(RenderManager manager, PlayerModels playerModel) {
|
private void registerPlayerSkin(RenderManager manager, PlayerModels playerModel) {
|
||||||
|
|
|
@ -3,6 +3,7 @@ package com.minelittlepony.model;
|
||||||
import com.minelittlepony.model.player.ModelAlicorn;
|
import com.minelittlepony.model.player.ModelAlicorn;
|
||||||
import com.minelittlepony.model.player.ModelEarthPony;
|
import com.minelittlepony.model.player.ModelEarthPony;
|
||||||
import com.minelittlepony.model.player.ModelPegasus;
|
import com.minelittlepony.model.player.ModelPegasus;
|
||||||
|
import com.minelittlepony.model.player.ModelUnicorn;
|
||||||
import com.minelittlepony.model.player.ModelZebra;
|
import com.minelittlepony.model.player.ModelZebra;
|
||||||
import com.minelittlepony.model.ponies.ModelIllagerPony;
|
import com.minelittlepony.model.ponies.ModelIllagerPony;
|
||||||
import com.minelittlepony.model.ponies.ModelSeapony;
|
import com.minelittlepony.model.ponies.ModelSeapony;
|
||||||
|
@ -29,6 +30,9 @@ public final class PMAPI {
|
||||||
public static final ModelWrapper pegasus = new ModelWrapper(new ModelPegasus(false));
|
public static final ModelWrapper pegasus = new ModelWrapper(new ModelPegasus(false));
|
||||||
public static final ModelWrapper pegasusSmall = new ModelWrapper(new ModelPegasus(true));
|
public static final ModelWrapper pegasusSmall = new ModelWrapper(new ModelPegasus(true));
|
||||||
|
|
||||||
|
public static final ModelWrapper unicorn = new ModelWrapper(new ModelUnicorn(false));
|
||||||
|
public static final ModelWrapper unicornSmall = new ModelWrapper(new ModelUnicorn(true));
|
||||||
|
|
||||||
public static final ModelWrapper alicorn = new ModelWrapper(new ModelAlicorn(false));
|
public static final ModelWrapper alicorn = new ModelWrapper(new ModelAlicorn(false));
|
||||||
public static final ModelWrapper alicornSmall = new ModelWrapper(new ModelAlicorn(true));
|
public static final ModelWrapper alicornSmall = new ModelWrapper(new ModelAlicorn(true));
|
||||||
|
|
||||||
|
|
|
@ -10,6 +10,7 @@ public enum PlayerModels {
|
||||||
@Deprecated HUMAN("default", "slim", () -> PMAPI.pony, () -> PMAPI.ponySmall),
|
@Deprecated HUMAN("default", "slim", () -> PMAPI.pony, () -> PMAPI.ponySmall),
|
||||||
EARTH("earthpony", "slimearthpony", () -> PMAPI.earthpony, () -> PMAPI.earthponySmall),
|
EARTH("earthpony", "slimearthpony", () -> PMAPI.earthpony, () -> PMAPI.earthponySmall),
|
||||||
PEGASUS("pegasus", "slimpegasus", () -> PMAPI.pegasus, () -> PMAPI.pegasusSmall),
|
PEGASUS("pegasus", "slimpegasus", () -> PMAPI.pegasus, () -> PMAPI.pegasusSmall),
|
||||||
|
UNICORN("unicorn", "slimunicorn", () -> PMAPI.unicorn, () -> PMAPI.unicornSmall),
|
||||||
ALICORN("alicorn", "slimalicorn", () -> PMAPI.alicorn, () -> PMAPI.alicornSmall),
|
ALICORN("alicorn", "slimalicorn", () -> PMAPI.alicorn, () -> PMAPI.alicornSmall),
|
||||||
ZEBRA("zebra", "slimzebra", () -> PMAPI.zebra, () -> PMAPI.zebraSmall);
|
ZEBRA("zebra", "slimzebra", () -> PMAPI.zebra, () -> PMAPI.zebraSmall);
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ public enum PonyRace implements ITriggerPixelMapped<PonyRace> {
|
||||||
HUMAN(0, PlayerModels.HUMAN, false, false),
|
HUMAN(0, PlayerModels.HUMAN, false, false),
|
||||||
EARTH(0xf9b131, PlayerModels.EARTH,false, false),
|
EARTH(0xf9b131, PlayerModels.EARTH,false, false),
|
||||||
PEGASUS(0x88caf0, PlayerModels.PEGASUS, true, false),
|
PEGASUS(0x88caf0, PlayerModels.PEGASUS, true, false),
|
||||||
UNICORN(0xd19fe4, PlayerModels.ALICORN, false, true),
|
UNICORN(0xd19fe4, PlayerModels.UNICORN, false, true),
|
||||||
ALICORN(0xfef9fc, PlayerModels.ALICORN, true, true),
|
ALICORN(0xfef9fc, PlayerModels.ALICORN, true, true),
|
||||||
CHANGELING(0x282b29, PlayerModels.ALICORN, true, true),
|
CHANGELING(0x282b29, PlayerModels.ALICORN, true, true),
|
||||||
ZEBRA(0xd0cccf, PlayerModels.ZEBRA, false, false),
|
ZEBRA(0xd0cccf, PlayerModels.ZEBRA, false, false),
|
||||||
|
|
Loading…
Reference in a new issue