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


Java ModelSnowMan类代码示例

本文整理汇总了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))));
    }
}
 
开发者ID:sudofox,项目名称:Backmemed,代码行数:13,代码来源:ModelAdapterSnowman.java

示例2: RenderSnowMan

import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderSnowMan(RenderManager renderManagerIn)
{
    super(renderManagerIn, new ModelSnowMan(), 0.5F);
    this.addLayer(new LayerSnowmanHead(this));
}
 
开发者ID:Notoh,项目名称:DecompiledMinecraft,代码行数:6,代码来源:RenderSnowMan.java

示例3: getMainModel

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

示例4: makeModel

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

示例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);
}
 
开发者ID:MinecraftModdedClients,项目名称:Resilience-Client-Source,代码行数:7,代码来源:RenderSnowMan.java

示例6: RenderChiselSnowman

import net.minecraft.client.model.ModelSnowMan; //导入依赖的package包/类
public RenderChiselSnowman() {
    super(new ModelSnowMan(), 0.5F);
    snowMan = (ModelSnowMan)super.mainModel;
    setRenderPassModel(this.snowMan);
}
 
开发者ID:Chisel-2,项目名称:Chisel-2,代码行数:6,代码来源:RenderChiselSnowman.java

示例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);
}
 
开发者ID:HATB0T,项目名称:RuneCraftery,代码行数:6,代码来源:RenderSnowMan.java

示例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);
}
 
开发者ID:wuppy29,项目名称:WuppyMods,代码行数:7,代码来源:RenderCleanSnowGolem.java


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