mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2024-11-29 15:37:59 +01:00
Fixed Illagers not having all the normal render layers that other mobs do
This commit is contained in:
parent
358691570f
commit
db54120174
1 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,8 @@ package com.minelittlepony.render.ponies;
|
|||
import com.minelittlepony.model.PMAPI;
|
||||
import com.minelittlepony.render.RenderPonyMob;
|
||||
import com.minelittlepony.render.layer.LayerHeldItemIllager;
|
||||
import com.minelittlepony.render.layer.LayerHeldPonyItem;
|
||||
|
||||
import net.minecraft.client.renderer.GlStateManager;
|
||||
import net.minecraft.client.renderer.entity.RenderManager;
|
||||
import net.minecraft.entity.monster.AbstractIllager;
|
||||
|
@ -24,8 +26,8 @@ public abstract class RenderPonyIllager<T extends AbstractIllager> extends Rende
|
|||
}
|
||||
|
||||
@Override
|
||||
protected void addLayers() {
|
||||
addLayer(new LayerHeldItemIllager<>(this));
|
||||
protected LayerHeldPonyItem<T> createItemHoldingLayer() {
|
||||
return new LayerHeldItemIllager<>(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in a new issue