mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 16:24:23 +01:00
Batponies don't wear saddlebags. They're too cool for that.
This commit is contained in:
parent
abfb6ed9d7
commit
753e5e5155
1 changed files with 10 additions and 0 deletions
|
@ -2,6 +2,7 @@ package com.minelittlepony.model.player;
|
||||||
|
|
||||||
import com.minelittlepony.model.components.BatWings;
|
import com.minelittlepony.model.components.BatWings;
|
||||||
import com.minelittlepony.model.components.PegasusWings;
|
import com.minelittlepony.model.components.PegasusWings;
|
||||||
|
import com.minelittlepony.pony.data.PonyWearable;
|
||||||
import com.minelittlepony.render.PonyRenderer;
|
import com.minelittlepony.render.PonyRenderer;
|
||||||
|
|
||||||
import net.minecraft.entity.Entity;
|
import net.minecraft.entity.Entity;
|
||||||
|
@ -49,4 +50,13 @@ public class ModelBatpony extends ModelEarthPony implements IModelPegasus {
|
||||||
.tex(0, 3).box( 3, -6.49F, 2.49F, 1, 1, 1, stretch)
|
.tex(0, 3).box( 3, -6.49F, 2.49F, 1, 1, 1, stretch)
|
||||||
.tex(0, 5).box( 2, -5, 1.5F, 1, 1, 1, stretch);
|
.tex(0, 5).box( 2, -5, 1.5F, 1, 1, 1, stretch);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean isWearing(PonyWearable wearable) {
|
||||||
|
if (wearable == PonyWearable.SADDLE_BAGS) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return super.isWearing(wearable);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue