net.minecraft.client.model.ModelZombie Java Examples

The following examples show how to use net.minecraft.client.model.ModelZombie. 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: 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 #3
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);
		}
	});

}