Fixed hats, gear, stuck arrows, and etc not rendering on npcs

This commit is contained in:
Sollace 2024-05-05 18:21:04 +01:00
parent 0c0d77090f
commit 1a22b290a6
No known key found for this signature in database
GPG key ID: E52FACE7B5C773DB

View file

@ -13,7 +13,6 @@ import com.minelittlepony.api.pony.meta.Race;
import com.minelittlepony.api.pony.meta.Wearable;
import com.minelittlepony.client.model.*;
import com.minelittlepony.client.render.entity.PonyRenderer;
import com.minelittlepony.client.render.entity.feature.*;
import com.minelittlepony.client.render.entity.npc.textures.*;
import java.util.function.Function;
@ -34,12 +33,6 @@ abstract class AbstractNpcRenderer<T extends MobEntity & VillagerDataContainer>
addFeature(clothing);
}
@Override
protected void addFeatures(EntityRendererFactory.Context context) {
addFeature(createHeldItemFeature(context));
addFeature(new GearFeature<>(this));
}
@Override
public boolean shouldRender(ClientPonyModel<T> model, T entity, Wearable wearable, Gear gear) {
if (wearable == Wearable.SADDLE_BAGS_BOTH) {