use of com.terraformersmc.terraform.boat.api.TerraformBoatType in project Blockus by Brandcraf06.
the class BlockusItems method registerBoat.
public static Item registerBoat(String path, String boatPath) {
Identifier id = Blockus.id(path);
Identifier boatId = Blockus.id(boatPath);
Item item = TerraformBoatItemHelper.registerBoatItem(id, () -> TerraformBoatTypeRegistry.INSTANCE.get(boatId));
TerraformBoatType boatType = new TerraformBoatType.Builder().item(item).build();
Registry.register(TerraformBoatTypeRegistry.INSTANCE, boatId, boatType);
return item;
}
Aggregations