net.minecraft.client.renderer.entity.layers.LayerBipedArmor Java Examples

The following examples show how to use net.minecraft.client.renderer.entity.layers.LayerBipedArmor. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: RenderGuard.java    From ToroQuest with GNU General Public License v3.0 6 votes vote down vote up
public RenderGuard(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelGuard(), 0.5F);

	LayerRenderer<?> layerrenderer = (LayerRenderer) this.layerRenderers.get(0);
	defaultModel = (ModelGuard) mainModel;

	addLayer(new LayerHeldItem(this));

	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			modelLeggings = new ModelZombie(0.5F, true);
			modelArmor = new ModelZombie(1.0F, true);
		}
	};
	addLayer(layerbipedarmor);

	// addLayer(new LayerCape(this));

	this.defaultLayers = Lists.newArrayList(this.layerRenderers);

}
 
Example #2
Source File: RenderTofunian.java    From TofuCraftReload with MIT License 5 votes vote down vote up
public RenderTofunian(RenderManager renderManagerIn) {
    super(renderManagerIn, new ModelTofunian(), 0.5F);
    this.addLayer(new LayerBipedArmor(this)        {
        protected void initArmor()
        {
            this.modelLeggings = new ModelTofunian(0.5F, true);
            this.modelArmor = new ModelTofunian(1.0F, true);
        }
    });
    this.addLayer(new LayerTofunianHeldItem(this));
}
 
Example #3
Source File: RenderSummonZombie.java    From Wizardry with GNU Lesser General Public License v3.0 5 votes vote down vote up
public RenderSummonZombie(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelSummonZombie(), 0.5F);
	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		@Override
		protected void initArmor() {
			this.modelLeggings = new ModelZombie(0.5F, true);
			this.modelArmor = new ModelZombie(1.0F, true);
		}
	};
	this.addLayer(layerbipedarmor);
}
 
Example #4
Source File: RenderVillageLord.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
public RenderVillageLord(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelVillageLord(), 0.5F);
	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			this.modelLeggings = new ModelSentry(0.5F, true);
			this.modelArmor = new ModelSentry(1.0F, true);
		}
	};
	this.addLayer(layerbipedarmor);
}
 
Example #5
Source File: RenderBas.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
public RenderBas(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelSkeleton(), 0.5F);

	// this.addLayer(new LayerHeldItem(this));
	this.addLayer(new LayerBipedArmor(this) {
		protected void initArmor() {
			this.modelLeggings = new ModelZombie(0.5F, true);
			this.modelArmor =  new ModelZombie(0.5F, true);
		}
	});

}
 
Example #6
Source File: RenderSentry.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
public RenderSentry(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelSentry(), 0.5F);
	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			this.modelLeggings = new ModelSentry(0.5F, true);
			this.modelArmor = new ModelSentry(1.0F, true);
		}
	};
	this.addLayer(layerbipedarmor);
}
 
Example #7
Source File: RenderRainbowGuard.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
public RenderRainbowGuard(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelRainbowGuard(), 0.5F);
	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			this.modelLeggings = new ModelRainbowGuard(0.5F, true);
			this.modelArmor = new ModelRainbowGuard(1.0F, true);
		}
	};
	this.addLayer(layerbipedarmor);
	this.rainbowGuardModel = (ModelRainbowGuard) super.mainModel;
}
 
Example #8
Source File: RenderRainbowKing.java    From ToroQuest with GNU General Public License v3.0 5 votes vote down vote up
public RenderRainbowKing(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelRainbowGuard(), 0.5F);
	LayerBipedArmor layerbipedarmor = new LayerBipedArmor(this) {
		protected void initArmor() {
			this.modelLeggings = new ModelRainbowGuard(0.5F, true);
			this.modelArmor = new ModelRainbowGuard(1.0F, true);
		}
	};
	this.addLayer(layerbipedarmor);
	this.rainbowGuardModel = (ModelRainbowGuard) super.mainModel;
}