public ModelRenderer getModelRenderer(ModelBase model, String modelPart) { if (!(model instanceof ModelBoat)) { return null; } else { ModelBoat modelboat = (ModelBoat)model; return modelPart.equals("bottom") ? modelboat.boatSides[0] : (modelPart.equals("back") ? modelboat.boatSides[1] : (modelPart.equals("front") ? modelboat.boatSides[2] : (modelPart.equals("right") ? modelboat.boatSides[3] : (modelPart.equals("left") ? modelboat.boatSides[4] : (modelPart.equals("paddle_left") ? modelboat.paddles[0] : (modelPart.equals("paddle_right") ? modelboat.paddles[1] : (modelPart.equals("bottom_no_water") ? modelboat.noWater : null))))))); } }
private ModelBase getBoatModel() { if (boatType == 0 || boatType == 3) { return new ModelBoat(); } else { return new ModelDoubleBoat(); } }
public ModelBase makeModel() { return new ModelBoat(); }
public RenderBoat() { this.shadowSize = 0.5F; this.modelBoat = new ModelBoat(); }
public RenderBoat() { this.field_76989_e = 0.5F; this.field_76998_a = new ModelBoat(); }
public RenderRasterBike() { this.shadowSize = 0.5F; this.modelBoat = new ModelBoat(); }