本文整理汇总了Java中net.minecraft.client.model.ModelDragon类的典型用法代码示例。如果您正苦于以下问题:Java ModelDragon类的具体用法?Java ModelDragon怎么用?Java ModelDragon使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
ModelDragon类属于net.minecraft.client.model包,在下文中一共展示了ModelDragon类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: RenderDragon
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public RenderDragon(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelDragon(0.0F), 0.5F);
this.modelDragon = (ModelDragon)this.mainModel;
this.addLayer(new LayerEnderDragonEyes(this));
this.addLayer(new LayerEnderDragonDeath());
}
示例2: getModelRenderer
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
if (!(model instanceof ModelDragon))
{
return null;
}
else
{
ModelDragon modeldragon = (ModelDragon)model;
return modelPart.equals("head") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 0) : (modelPart.equals("spine") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 1) : (modelPart.equals("jaw") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 2) : (modelPart.equals("body") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 3) : (modelPart.equals("rear_leg") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 4) : (modelPart.equals("front_leg") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 5) : (modelPart.equals("rear_leg_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 6) : (modelPart.equals("front_leg_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 7) : (modelPart.equals("rear_foot") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 8) : (modelPart.equals("front_foot") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 9) : (modelPart.equals("wing") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 10) : (modelPart.equals("wing_tip") ? (ModelRenderer)Reflector.getFieldValue(modeldragon, Reflector.ModelDragon_ModelRenderers, 11) : null)))))))))));
}
}
示例3: makeModel
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelDragon(0.0F);
}
示例4: RenderDragon
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public RenderDragon(RenderManager renderManagerIn)
{
super(renderManagerIn, new ModelDragon(0.0F), 0.5F);
this.addLayer(new LayerEnderDragonEyes(this));
this.addLayer(new LayerEnderDragonDeath());
}
示例5: RenderDragon
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public RenderDragon()
{
super(new ModelDragon(0.0F), 0.5F);
this.modelDragon = (ModelDragon)this.mainModel;
this.setRenderPassModel(this.mainModel);
}
示例6: RenderDragon
import net.minecraft.client.model.ModelDragon; //导入依赖的package包/类
public RenderDragon() {
super(new ModelDragon(0.0F), 0.5F);
this.field_77084_b = (ModelDragon)this.field_77045_g;
this.func_77042_a(this.field_77045_g);
}