1.6.4 basic fixes
This commit is contained in:
@@ -3,6 +3,8 @@ package StevenDimDoors.mod_pocketDimClient;
|
||||
import net.minecraft.client.renderer.entity.RenderLiving;
|
||||
import cpw.mods.fml.relauncher.Side;
|
||||
import cpw.mods.fml.relauncher.SideOnly;
|
||||
import net.minecraft.entity.Entity;
|
||||
import net.minecraft.util.ResourceLocation;
|
||||
|
||||
@SideOnly(Side.CLIENT)
|
||||
public class RenderMobObelisk extends RenderLiving
|
||||
@@ -16,6 +18,11 @@ protected ModelMobObelisk obeliskModel;
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@Override
|
||||
public ResourceLocation getEntityTexture(Entity entity) {
|
||||
int watchByte = entity.getDataWatcher().getWatchableObjectByte(16);
|
||||
|
||||
return new ResourceLocation("/mods/DimDoors/textures/mobs/Monolith"+watchByte+".png");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user