public RenderArmorStand(RenderManager manager) { super(manager, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelArmorStandArmor(0.5F); this.modelArmor = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerElytra(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public RenderZombie(RenderManager renderManagerIn) { super(renderManagerIn, new ModelZombie(), 0.5F, 1.0F); LayerRenderer layerrenderer = (LayerRenderer)this.layerRenderers.get(0); this.field_82434_o = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); this.addLayer(new LayerHeldItem(this)); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.field_177189_c = new ModelZombie(0.5F, true); this.field_177186_d = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); this.field_177122_o = Lists.newArrayList(this.layerRenderers); if (layerrenderer instanceof LayerCustomHead) { this.removeLayer(layerrenderer); this.addLayer(new LayerCustomHead(this.zombieVillagerModel.bipedHead)); } this.removeLayer(layerbipedarmor); this.addLayer(new LayerVillagerArmor(this)); this.field_177121_n = Lists.newArrayList(this.layerRenderers); }
public ArmorStandRenderer(RenderManager p_i46195_1_) { super(p_i46195_1_, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.field_177189_c = new ModelArmorStandArmor(0.5F); this.field_177186_d = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public RenderPlayer(RenderManager renderManager, boolean useSmallArms) { super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F); this.smallArms = useSmallArms; this.addLayer(new LayerBipedArmor(this)); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerDeadmau5Head(this)); this.addLayer(new LayerCape(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize, float p_i46169_4_) { super(renderManagerIn, modelBipedIn, shadowSize); this.modelBipedMain = modelBipedIn; this.field_77070_b = p_i46169_4_; this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead)); }
public RenderPlayer(RenderManager renderManager, boolean useSmallArms) { super(renderManager, new ModelPlayer(0.0F, useSmallArms), 0.5F); this.smallArms = useSmallArms; this.addLayer(new LayerBipedArmor(this)); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerDeadmau5Head(this)); this.addLayer(new LayerCape(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); this.addLayer(new LayerElytra(this)); }
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize) { super(renderManagerIn, modelBipedIn, shadowSize); this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead)); this.addLayer(new LayerElytra(this)); this.addLayer(new LayerHeldItem(this)); }
public RenderArmorStand(RenderManager manager) { super(manager, new ModelArmorStand(), 0.0F); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelArmorStandArmor(0.5F); this.modelArmor = new ModelArmorStandArmor(1.0F); } }; this.addLayer(layerbipedarmor); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public RenderZombie(RenderManager renderManagerIn) { super(renderManagerIn, new ModelZombie(), 0.5F, 1.0F); LayerRenderer<?> layerrenderer = (LayerRenderer)this.layerRenderers.get(0); this.defaultModel = this.modelBipedMain; this.zombieVillagerModel = new ModelZombieVillager(); this.addLayer(new LayerHeldItem(this)); LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { protected void initArmor() { this.modelLeggings = new ModelZombie(0.5F, true); this.modelArmor = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); this.defaultLayers = Lists.newArrayList(this.layerRenderers); if (layerrenderer instanceof LayerCustomHead) { this.removeLayer(layerrenderer); this.addLayer(new LayerCustomHead(this.zombieVillagerModel.bipedHead)); } this.removeLayer(layerbipedarmor); this.addLayer(new LayerVillagerArmor(this)); this.villagerLayers = Lists.newArrayList(this.layerRenderers); }
public RenderBiped(RenderManager renderManagerIn, ModelBiped modelBipedIn, float shadowSize, float p_i46169_4_) { super(renderManagerIn, modelBipedIn, shadowSize); this.modelBipedMain = modelBipedIn; this.scale = p_i46169_4_; this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead)); }
public RenderBabySkeleton(RenderManager renderManagerIn, ModelBabySkeleton modelBipedIn) { super(renderManagerIn, modelBipedIn, 0.5F); this.addLayer(new LayerCustomHead(modelBipedIn.bipedHead)); this.addLayer(new LayerElytra(this)); this.addLayer(new LayerBabyHeldItem(this)); this.addLayer(new LayerSkinsuit(this, new ModelBabySkeleton(0.0F, true, true, 2))); this.addLayer(new LayerBipedArmor(this) { @Override protected void initArmor() { this.modelLeggings = new ModelBabySkeleton(0.5F, true, false, 1); this.modelArmor = new ModelBabySkeleton(1.0F, true, false, 1); } }); }
public RenderMinionBase(RenderManager renderManagerIn) { super(renderManagerIn, new ModelMinionBase(0.0F, false), 0.5F); this.addLayer(new LayerBipedArmor(this)); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); this.addLayer(new LayerBackItem(this)); }
public RenderGSSkeleton(RenderManager renderManager) { super(renderManager); ModelGSSkeleton skeletonModel = new ModelGSSkeleton(); this.mainModel = skeletonModel; Iterator it = this.layerRenderers.iterator(); while (it.hasNext()) { Object layer = it.next(); if (layer instanceof LayerCustomHead) { it.remove(); } } this.addLayer(new LayerCustomHead(skeletonModel.bipedHead)); }
public CorpseRenderer(RenderManager renderManagerIn) { super(renderManagerIn, new ModelPlayer(0.0F, true), 0.5F); thinArmsModel = (ModelPlayer)this.mainModel; thickArmsModel = new ModelPlayer(0.0F, false); // this.addLayer(new LayerBipedArmor(this)); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); RenderPlayer k; RenderPigZombie j; }
public RenderPlayerMob (RenderManager renderManager, ModelPlayerMob model) { super(renderManager, model, 0.5F); this.addLayer(new LayerBipedArmor(this)); this.addLayer(new LayerHeldItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerCustomHead(this.getMainModel().bipedHead)); this.addLayer(new LayerElytra(this)); this.blendProfile = Profile.PLAYER_SKIN; }
/** * @param model May be either an IModelBiped or a ModelBiped; any animations need to be handled in the model class directly * @param scale Scale of the full size model; child versions will render at half this scale * @param texturePath Be sure to prefix with the Mod ID if needed, otherwise it will use the Minecraft texture path */ public RenderGenericLiving(RenderManager renderManager, ModelBase model, float shadowSize, float scale, String texturePath) { super(renderManager, model, shadowSize); this.texture = new ResourceLocation(texturePath); this.scale = scale; if (model instanceof IModelBiped) { this.addLayer(new LayerCustomHead(((IModelBiped) model).getHeadModel())); this.addLayer(new LayerGenericHeldItem(this)); } else if (model instanceof ModelBiped) { this.addLayer(new LayerCustomHead(((ModelBiped) model).bipedHead)); this.addLayer(new LayerHeldItem(this)); } }
@SuppressWarnings("unchecked") public RenderZombieVillager(RenderManager p_i46127_1_) { super(p_i46127_1_, new ModelZombie(), 0.5F, 1.0F); final LayerRenderer layerrenderer = (LayerRenderer) this.layerRenderers.get(0); this.field_82434_o = this.modelBipedMain; this.zombieVillagerProfessionModel = new ModelZombieVillagerProfession(); this.addLayer(new LayerHeldItem(this)); final LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) { @Override protected void func_177177_a() { this.field_177189_c = new ModelZombie(0.5F, true); this.field_177186_d = new ModelZombie(1.0F, true); } }; this.addLayer(layerbipedarmor); this.field_177122_o = Lists.newArrayList(this.layerRenderers); if (layerrenderer instanceof LayerCustomHead) { this.removeLayer(layerrenderer); this.addLayer(new LayerCustomHead(this.zombieVillagerProfessionModel.bipedHead)); } this.removeLayer(layerbipedarmor); this.addLayer(new LayerVillagerArmor(this)); this.field_177121_n = Lists.newArrayList(this.layerRenderers); }
public RenderVillager(RenderManager renderManagerIn) { super(renderManagerIn, new ModelVillager(0.0F), 0.5F); this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead)); }
public PlayerRender(RenderManager renderManager, boolean useSmallArms) { super(renderManager, useSmallArms); this.removeLayer(new LayerCustomHead(this.getMainModel().bipedHead)); }
public RenderFugitive(RenderManager renderManagerIn) { super(renderManagerIn, new ModelVillager(0.0F), 0.5F); this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead)); }
public RenderShopkeeper(RenderManager renderManagerIn) { super(renderManagerIn, new ModelVillager(0.0F), 0.5F); this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead)); }
public RenderGreenVillager(RenderManager p_i46132_1_) { super(p_i46132_1_, new ModelVillager(0.0F), 0.5F); this.addLayer(new LayerCustomHead(this.func_177134_g().villagerHead)); }