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)); } }
public TileEntityGlassRenderer() { modelEnderCrystal = new ModelEnderCrystal(0F, false); }
public ModelBase makeModel() { return new ModelEnderCrystal(0.0F, false); }
public ModelBase makeModel() { return new ModelEnderCrystal(0.0F, true); }
public RenderEnderCrystal() { this.shadowSize = 0.5F; this.field_76995_b = new ModelEnderCrystal(0.0F, true); }
public RenderEnderCrystal() { this.field_76989_e = 0.5F; this.field_76995_b = new ModelEnderCrystal(0.0F, true); }