Batponies don't wear saddlebags. They're too cool for that.

This commit is contained in:
Sollace 2018-08-27 16:00:12 +02:00
parent abfb6ed9d7
commit 753e5e5155

View file

@ -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);
}
} }