本文整理汇总了Java中net.minecraft.client.model.ModelEnderCrystal类的典型用法代码示例。如果您正苦于以下问题:Java ModelEnderCrystal类的具体用法?Java ModelEnderCrystal怎么用?Java ModelEnderCrystal使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
ModelEnderCrystal类属于net.minecraft.client.model包,在下文中一共展示了ModelEnderCrystal类的6个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getModelRenderer
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public ModelRenderer getModelRenderer(ModelBase model, String modelPart)
{
if (!(model instanceof ModelEnderCrystal))
{
return null;
}
else
{
ModelEnderCrystal modelendercrystal = (ModelEnderCrystal)model;
return modelPart.equals("cube") ? (ModelRenderer)Reflector.getFieldValue(modelendercrystal, Reflector.ModelEnderCrystal_ModelRenderers, 0) : (modelPart.equals("glass") ? (ModelRenderer)Reflector.getFieldValue(modelendercrystal, Reflector.ModelEnderCrystal_ModelRenderers, 1) : (modelPart.equals("base") ? (ModelRenderer)Reflector.getFieldValue(modelendercrystal, Reflector.ModelEnderCrystal_ModelRenderers, 2) : null));
}
}
示例2: TileEntityGlassRenderer
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public TileEntityGlassRenderer()
{
modelEnderCrystal = new ModelEnderCrystal(0F, false);
}
示例3: makeModel
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelEnderCrystal(0.0F, false);
}
示例4: makeModel
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public ModelBase makeModel()
{
return new ModelEnderCrystal(0.0F, true);
}
示例5: RenderEnderCrystal
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public RenderEnderCrystal()
{
this.shadowSize = 0.5F;
this.field_76995_b = new ModelEnderCrystal(0.0F, true);
}
示例6: RenderEnderCrystal
import net.minecraft.client.model.ModelEnderCrystal; //导入依赖的package包/类
public RenderEnderCrystal() {
this.field_76989_e = 0.5F;
this.field_76995_b = new ModelEnderCrystal(0.0F, true);
}