本文整理汇总了Java中net.minecraft.client.model.ModelSnowMan类的典型用法代码示例。如果您正苦于以下问题:Java ModelSnowMan类的具体用法?Java ModelSnowMan怎么用?Java ModelSnowMan使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelSnowMan类属于net.minecraft.client.model包,在下文中一共展示了ModelSnowMan类的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getModelRenderer
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
if (!(model instanceof ModelSnowMan))
{
return null;
}
else
{
ModelSnowMan modelsnowman = (ModelSnowMan)model;
return modelPart.equals("body") ? modelsnowman.body : (modelPart.equals("body_bottom") ? modelsnowman.bottomBody : (modelPart.equals("head") ? modelsnowman.head : (modelPart.equals("left_hand") ? modelsnowman.leftHand : (modelPart.equals("right_hand") ? modelsnowman.rightHand : null))));
}
}
示例2: RenderSnowMan
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderSnowMan(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelSnowMan(), 0.5F);
this.addLayer(new LayerSnowmanHead(this));
}
示例3: getMainModel
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public ModelSnowMan getMainModel()
{
return (ModelSnowMan)super.getMainModel();
}
示例4: makeModel
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelSnowMan();
}
示例5: RenderSnowMan
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderSnowMan()
{
super(new ModelSnowMan(), 0.5F);
this.snowmanModel = (ModelSnowMan)super.mainModel;
this.setRenderPassModel(this.snowmanModel);
}
示例6: RenderChiselSnowman
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderChiselSnowman() {
super(new ModelSnowMan(), 0.5F);
snowMan = (ModelSnowMan)super.mainModel;
setRenderPassModel(this.snowMan);
}
示例7: RenderSnowMan
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderSnowMan() {
super(new ModelSnowMan(), 0.5F);
this.field_77094_a = (ModelSnowMan)super.field_77045_g;
this.func_77042_a(this.field_77094_a);
}
示例8: RenderCleanSnowGolem
import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderCleanSnowGolem()
{
super(new ModelSnowMan(), 0.5F);
this.snowmanModel = (ModelSnowMan)super.mainModel;
this.setRenderPassModel(this.snowmanModel);
}