mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-03-15 16:10:05 +01:00
Clean up these old human fields
This commit is contained in:
parent
8e173fc859
commit
16634d9957
5 changed files with 8 additions and 11 deletions
|
@ -34,10 +34,10 @@ public class PonyRenderManager {
|
|||
// Preview on the select skin gui
|
||||
ModUtilities.addRenderer(EntityPonyModel.class, new RenderPonyModel(manager));
|
||||
|
||||
for (PlayerModels i : PlayerModels.values()) {
|
||||
if (i != PlayerModels.HUMAN) {
|
||||
registerPlayerSkin(manager, i);
|
||||
}
|
||||
PlayerModels[] models = PlayerModels.values();
|
||||
|
||||
for (int i = 1; i < models.length; i++) {
|
||||
registerPlayerSkin(manager, models[i]);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -21,9 +21,6 @@ import java.lang.reflect.Field;
|
|||
*/
|
||||
public final class PMAPI {
|
||||
|
||||
public static final ModelWrapper pony = new ModelWrapper(new ModelAlicorn(false));
|
||||
public static final ModelWrapper ponySmall = new ModelWrapper(new ModelAlicorn(true));
|
||||
|
||||
public static final ModelWrapper earthpony = new ModelWrapper(new ModelEarthPony(false));
|
||||
public static final ModelWrapper earthponySmall = new ModelWrapper(new ModelEarthPony(true));
|
||||
|
||||
|
|
|
@ -5,9 +5,9 @@ import com.minelittlepony.model.ModelWrapper;
|
|||
|
||||
public enum PlayerModels {
|
||||
/**
|
||||
* @deprecated Will be removed in a later revision
|
||||
* The default non-pony model. This is typically handled my the vanilla renderer.
|
||||
*/
|
||||
@Deprecated HUMAN("default", "slim", () -> PMAPI.pony, () -> PMAPI.ponySmall),
|
||||
DEFAULT("default", "slim", () -> PMAPI.earthpony, () -> PMAPI.earthponySmall),
|
||||
EARTH("earthpony", "slimearthpony", () -> PMAPI.earthpony, () -> PMAPI.earthponySmall),
|
||||
PEGASUS("pegasus", "slimpegasus", () -> PMAPI.pegasus, () -> PMAPI.pegasusSmall),
|
||||
UNICORN("unicorn", "slimunicorn", () -> PMAPI.unicorn, () -> PMAPI.unicornSmall),
|
||||
|
|
|
@ -4,7 +4,7 @@ import com.minelittlepony.model.player.PlayerModels;
|
|||
|
||||
public enum PonyRace implements ITriggerPixelMapped<PonyRace> {
|
||||
|
||||
HUMAN(0, PlayerModels.HUMAN, false, false),
|
||||
HUMAN(0, PlayerModels.DEFAULT, false, false),
|
||||
EARTH(0xf9b131, PlayerModels.EARTH,false, false),
|
||||
PEGASUS(0x88caf0, PlayerModels.PEGASUS, true, false),
|
||||
UNICORN(0xd19fe4, PlayerModels.UNICORN, false, true),
|
||||
|
|
|
@ -12,7 +12,7 @@ public class RenderPonyPigman extends RenderPonyMob<EntityPigZombie> {
|
|||
private static final ResourceLocation PIGMAN = new ResourceLocation("minelittlepony", "textures/entity/zombie/zombie_pigman_pony.png");
|
||||
|
||||
public RenderPonyPigman(RenderManager manager) {
|
||||
super(manager, PMAPI.pony);
|
||||
super(manager, PMAPI.alicorn);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue