本文整理汇总了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);
}
示例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));
}
示例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);
}
示例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);
}
示例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);
}
示例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));
}
示例7: getEndermanModelInstace
import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public static ModelEnderman getEndermanModelInstace() {
return ENDERMAN_MODEL_INSTANCE;
}
示例8: makeModel
import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelEnderman(0.0F);
}
示例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));
}
示例10: getMainModel
import net.minecraft.client.model.ModelEnderman; //导入依赖的package包/类
public ModelEnderman getMainModel()
{
return (ModelEnderman)super.getMainModel();
}
示例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);
}
示例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);
}
示例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));
}
示例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);
}
示例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());
}