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

项目:Backmemed    文件:RenderEnderman.java   
/**
 * Renders the desired {@code T} type Entity.
 */
public void doRender(EntityEnderman entity, double x, double y, double z, float entityYaw, float partialTicks)
{
    IBlockState iblockstate = entity.getHeldBlockState();
    ModelEnderman modelenderman = this.getMainModel();
    modelenderman.isCarrying = iblockstate != null;
    modelenderman.isAttacking = entity.isScreaming();

    if (entity.isScreaming())
    {
        double d0 = 0.02D;
        x += this.rnd.nextGaussian() * 0.02D;
        z += this.rnd.nextGaussian() * 0.02D;
    }

    super.doRender(entity, x, y, z, entityYaw, partialTicks);
}
项目:DecompiledMinecraft    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:BaseClient    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:BaseClient    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:EndermanEvolution    文件:ModelSkullBase.java   
public Enderman() {
    setTexture(TEXTURE_ENDERMAN);
    setLightMap(LIGHTMAP_ENDERMAN);
    ModelEnderman model = getEndermanModelInstace();
    head = model.bipedHead;
    overlay = model.bipedHeadwear;
    model.isAttacking = true;
    head.setRotationPoint(0F, 0F, 0F);
    overlay.setRotationPoint(0F, 0F, 0F);
}
项目:EndermanEvolution    文件:ModelSkullBase.java   
public Frienderman() {
    setTexture(TEXTURE_ENDERMAN);
    setLightMap(LIGHTMAP_ENDERMAN);
    ModelEnderman model = getEndermanModelInstace();
    head = model.bipedHead;
    overlay = model.bipedHeadwear;
    model.isAttacking = true;
    head.setRotationPoint(0F, 0F, 0F);
    overlay.setRotationPoint(0F, 0F, 0F);
}
项目:EndermanEvolution    文件:ModelSkullBase.java   
public Enderman2() {
    setTexture(TEXTURE_ENDERMAN);
    setLightMap(LIGHTMAP_ENDERMAN);
    ModelEnderman model = getEndermanModelInstace();
    head = model.bipedHead;
    overlay = model.bipedHeadwear;
    model.isAttacking = true;
    model.bipedHeadwear.showModel = true;
    model.bipedHeadwear.isHidden = false;
    head.setRotationPoint(0F, 0F, 0F);
    overlay.setRotationPoint(0F, 0F, 0F);
}
项目:CustomWorldGen    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:ExpandedRailsMod    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:EndermanEvolution    文件:RenderEvolvedEnderman.java   
public RenderEvolvedEnderman(RenderManager renderManagerIn) {
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    endermanModel = (ModelEnderman) super.mainModel;
    addLayer(new LayerEndermanEvolvedEyes(this));
    addLayer(new LayerHeldBlock2(this));
}
项目:EndermanEvolution    文件:ModelSkullBase.java   
public static ModelEnderman getEndermanModelInstace() {
    return ENDERMAN_MODEL_INSTANCE;
}
项目:Backmemed    文件:ModelAdapterEnderman.java   
public ModelBase makeModel()
{
    return new ModelEnderman(0.0F);
}
项目:Backmemed    文件:RenderEnderman.java   
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
项目:Backmemed    文件:RenderEnderman.java   
public ModelEnderman getMainModel()
{
    return (ModelEnderman)super.getMainModel();
}
项目:Resilience-Client-Source    文件:RenderEnderman.java   
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
项目:MinExtension    文件:RenderNetherman.java   
public RenderNetherman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman) super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
项目:enderutilities    文件:RenderEndermanFighter.java   
public RenderEndermanFighter(RenderManager renderManager)
{
    super(renderManager, new ModelEnderman(0.0f), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEnderFighterEyes(this));
}
项目:Cauldron    文件:RenderEnderman.java   
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
项目:Cauldron    文件:RenderEnderman.java   
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
项目:RuneCraftery    文件:RenderEnderman.java   
public RenderEnderman() {
   super(new ModelEnderman(), 0.5F);
   this.field_77078_a = (ModelEnderman)super.field_77045_g;
   this.func_77042_a(this.field_77078_a);
}
项目:RuneCraftery    文件:RenderEnderman.java   
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
项目:EnderZoo    文件:RenderEnderminy.java   
public RenderEnderminy(RenderManager rm) {
  super(rm, new ModelEnderman(0), 0.5F);
  endermanModel = (ModelEnderman) super.mainModel;
  addLayer(new EyesLayer());
}
项目:BetterNutritionMod    文件:RenderEnderman.java   
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}