Java 类net.minecraft.client.model.ModelVillager 实例源码

项目:Backmemed    文件:ModelAdapterVillager.java   
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
    if (!(model instanceof ModelVillager))
    {
        return null;
    }
    else
    {
        ModelVillager modelvillager = (ModelVillager)model;
        return modelPart.equals("head") ? modelvillager.villagerHead : (modelPart.equals("body") ? modelvillager.villagerBody : (modelPart.equals("arms") ? modelvillager.villagerArms : (modelPart.equals("left_leg") ? modelvillager.leftVillagerLeg : (modelPart.equals("right_leg") ? modelvillager.rightVillagerLeg : (modelPart.equals("nose") ? modelvillager.villagerNose : null)))));
    }
}
项目:TaleCraft    文件:NPCModelToModelBase.java   
private static void registerAll(){
    map = new HashMap<EnumNPCModel, ModelBase>();
    registerItem(EnumNPCModel.Player, new ModelPlayer(0f, false));
    registerItem(EnumNPCModel.Zombie, new ModelZombie());
    registerItem(EnumNPCModel.Villager, new ModelVillager(0f));
    registerItem(EnumNPCModel.Skeleton, new ModifiedModelSkeleton());
    registerItem(EnumNPCModel.Creeper, new ModelCreeper());
    registerItem(EnumNPCModel.Pig, new ModelPig(0f));
    registerItem(EnumNPCModel.Cow, new ModelCow());
}
项目:Magicians-Artifice    文件:ClientProxy.java   
private void renderEntities() {
    VillagerRegistry.instance().registerVillagerSkin(MAEntityRegistry.villagerID, MAEntityRegistry.texture);

    RenderingRegistry.registerEntityRenderingHandler(EntityMagician.class, new RenderEntityMagician(new ModelMagician(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntitySoulFragment.class, new RenderEntitySoulFragment(new ModelBiped(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityBossOverworld.class, new RenderBossOverworld(new ModelOverworldBoss(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityBossNether.class, new RenderBossNether(new ModelNetherBoss(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityBossEnder.class, new RenderBossEnder(new ModelEndBoss(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityPetPheonix.class, new RenderPetPheonix(new ModelVillager(0.0F), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityPetAppling.class, new RenderPetAppling(new ModelAppling(), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityPetRat.class, new RenderPetRat(new ModelVillager(0.0F), 1F));
    RenderingRegistry.registerEntityRenderingHandler(EntityPetDragon.class, new RenderPetDragon(new ModelVillager(0.0F), 1F));
}
项目:DecompiledMinecraft    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:DecompiledMinecraft    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:BaseClient    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:BaseClient    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:BaseClient    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:BaseClient    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:Backmemed    文件:ModelAdapterVillager.java   
public ModelBase makeModel()
{
    return new ModelVillager(0.0F);
}
项目:Backmemed    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:Backmemed    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:CustomWorldGen    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:CustomWorldGen    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:MidgarCrusade    文件:RenderVillagerDim.java   
public RenderVillagerDim()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:ToroQuest    文件:RenderFugitive.java   
public RenderFugitive(RenderManager renderManagerIn) {
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:ToroQuest    文件:RenderFugitive.java   
public ModelVillager getMainModel() {
    return (ModelVillager) super.getMainModel();
}
项目:ToroQuest    文件:RenderShopkeeper.java   
public RenderShopkeeper(RenderManager renderManagerIn) {
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:ToroQuest    文件:RenderShopkeeper.java   
public ModelVillager getMainModel() {
    return (ModelVillager) super.getMainModel();
}
项目:Rediscovered-Mod-1.8    文件:RenderGreenVillager.java   
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));
}
项目:Rediscovered-Mod-1.8    文件:RenderGreenVillager.java   
public ModelVillager func_177134_g()
{
    return (ModelVillager)super.getMainModel();
}
项目:Resilience-Client-Source    文件:RenderVillager.java   
public RenderVillager()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:Rediscovered-Mod-1.8.8    文件:RenderGreenVillager.java   
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));
}
项目:Rediscovered-Mod-1.8.8    文件:RenderGreenVillager.java   
public ModelVillager func_177134_g()
{
    return (ModelVillager)super.getMainModel();
}
项目:ExpandedRailsMod    文件:RenderVillager.java   
public RenderVillager(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelVillager(0.0F), 0.5F);
    this.addLayer(new LayerCustomHead(this.getMainModel().villagerHead));
}
项目:ExpandedRailsMod    文件:RenderVillager.java   
public ModelVillager getMainModel()
{
    return (ModelVillager)super.getMainModel();
}
项目:Cauldron    文件:RenderVillager.java   
public RenderVillager()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:Cauldron    文件:RenderVillager.java   
public RenderVillager()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:RuneCraftery    文件:RenderVillager.java   
public RenderVillager() {
   super(new ModelVillager(0.0F), 0.5F);
   this.field_77056_a = (ModelVillager)this.field_77045_g;
}
项目:RuneCraftery    文件:RenderVillager.java   
public RenderVillager()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:BetterNutritionMod    文件:RenderVillager.java   
public RenderVillager()
{
    super(new ModelVillager(0.0F), 0.5F);
    this.villagerModel = (ModelVillager)this.mainModel;
}
项目:McMod-CubicVillager    文件:TileEntityVillagerBlockRenderer.java   
public TileEntityVillagerBlockRenderer()
{
    ModelVillager villager = new ModelVillager(0);
    this.head = villager.villagerHead;
}