Java 类net.minecraft.client.model.ModelBoat 实例源码

项目:Backmemed    文件:ModelAdapterBoat.java   
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)))))));
    }
}
项目:LavaBoat-mod    文件:RenderLavaBoat.java   
private ModelBase getBoatModel() {
    if (boatType == 0 || boatType == 3) {
        return new ModelBoat();
    } else {
        return new ModelDoubleBoat();
    }
}
项目:Backmemed    文件:ModelAdapterBoat.java   
public ModelBase makeModel()
{
    return new ModelBoat();
}
项目:Resilience-Client-Source    文件:RenderBoat.java   
public RenderBoat()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}
项目:Cauldron    文件:RenderBoat.java   
public RenderBoat()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}
项目:Cauldron    文件:RenderBoat.java   
public RenderBoat()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}
项目:RuneCraftery    文件:RenderBoat.java   
public RenderBoat() {
   this.field_76989_e = 0.5F;
   this.field_76998_a = new ModelBoat();
}
项目:RuneCraftery    文件:RenderBoat.java   
public RenderBoat()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}
项目:BetterNutritionMod    文件:RenderBoat.java   
public RenderBoat()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}
项目:powell.cellarium    文件:RenderRasterBike.java   
public RenderRasterBike()
{
    this.shadowSize = 0.5F;
    this.modelBoat = new ModelBoat();
}