@Inject( method = "<init>(Lnet/minecraft/client/renderer/entity/RenderManager;Z)V", at = @At("RETURN")) private void init(RenderManager renderManager, boolean useSmallArms, CallbackInfo ci) { this.playerModel = smallArms ? PMAPI.ponySmall : PMAPI.pony; this.mainModel = this.playerModel.getModel(); this.layerRenderers.clear(); this.addLayer(new LayerPonyArmor(this)); this.addLayer(new LayerHeldPonyItem(this)); this.addLayer(new LayerArrow(this)); this.addLayer(new LayerPonyCape(this)); this.addLayer(new LayerPonyCustomHead(this)); this.addLayer(new LayerPonyElytra(this)); this.addLayer(new LayerEntityOnPonyShoulder(renderManager, this)); }
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 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 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 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; }