当前位置: 首页>>代码示例>>Java>>正文


Java ModelEnderman类代码示例

本文整理汇总了Java中net.minecraft.client.model.ModelEnderman的典型用法代码示例。如果您正苦于以下问题:Java ModelEnderman类的具体用法?Java ModelEnderman怎么用?Java ModelEnderman使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


ModelEnderman类属于net.minecraft.client.model包,在下文中一共展示了ModelEnderman类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: doRender

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
/**
 * 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);
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:20,代码来源:RenderEnderman.java

示例2: RenderEnderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
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));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:8,代码来源:RenderEnderman.java

示例3: Enderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
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);
}
 
开发者ID:p455w0rd,项目名称:EndermanEvolution,代码行数:11,代码来源:ModelSkullBase.java

示例4: Frienderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
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);
}
 
开发者ID:p455w0rd,项目名称:EndermanEvolution,代码行数:11,代码来源:ModelSkullBase.java

示例5: Enderman2

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
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);
}
 
开发者ID:p455w0rd,项目名称:EndermanEvolution,代码行数:13,代码来源:ModelSkullBase.java

示例6: RenderEvolvedEnderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEvolvedEnderman(RenderManager renderManagerIn) {
	super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
	endermanModel = (ModelEnderman) super.mainModel;
	addLayer(new LayerEndermanEvolvedEyes(this));
	addLayer(new LayerHeldBlock2(this));
}
 
开发者ID:p455w0rd,项目名称:EndermanEvolution,代码行数:7,代码来源:RenderEvolvedEnderman.java

示例7: getEndermanModelInstace

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public static ModelEnderman getEndermanModelInstace() {
	return ENDERMAN_MODEL_INSTANCE;
}
 
开发者ID:p455w0rd,项目名称:EndermanEvolution,代码行数:4,代码来源:ModelSkullBase.java

示例8: makeModel

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public ModelBase makeModel()
{
    return new ModelEnderman(0.0F);
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:ModelAdapterEnderman.java

示例9: RenderEnderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEnderman(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelEnderman(0.0F), 0.5F);
    this.addLayer(new LayerEndermanEyes(this));
    this.addLayer(new LayerHeldBlock(this));
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:7,代码来源:RenderEnderman.java

示例10: getMainModel

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public ModelEnderman getMainModel()
{
    return (ModelEnderman)super.getMainModel();
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:5,代码来源:RenderEnderman.java

示例11: RenderEnderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEnderman()
{
    super(new ModelEnderman(), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.setRenderPassModel(this.endermanModel);
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:7,代码来源:RenderEnderman.java

示例12: RenderNetherman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderNetherman()
{
	super(new ModelEnderman(), 0.5F);
	this.endermanModel = (ModelEnderman) super.mainModel;
	this.setRenderPassModel(this.endermanModel);
}
 
开发者ID:AlphaSwittle-Team,项目名称:MinExtension,代码行数:7,代码来源:RenderNetherman.java

示例13: RenderEndermanFighter

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEndermanFighter(RenderManager renderManager)
{
    super(renderManager, new ModelEnderman(0.0f), 0.5F);
    this.endermanModel = (ModelEnderman)super.mainModel;
    this.addLayer(new LayerEnderFighterEyes(this));
}
 
开发者ID:maruohon,项目名称:enderutilities,代码行数:7,代码来源:RenderEndermanFighter.java

示例14: RenderEnderman

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEnderman() {
   super(new ModelEnderman(), 0.5F);
   this.field_77078_a = (ModelEnderman)super.field_77045_g;
   this.func_77042_a(this.field_77078_a);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:6,代码来源:RenderEnderman.java

示例15: RenderEnderminy

import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public RenderEnderminy(RenderManager rm) {
  super(rm, new ModelEnderman(0), 0.5F);
  endermanModel = (ModelEnderman) super.mainModel;
  addLayer(new EyesLayer());
}
 
开发者ID:SleepyTrousers,项目名称:EnderZoo,代码行数:6,代码来源:RenderEnderminy.java


注:本文中的net.minecraft.client.model.ModelEnderman类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。