Move dusts and smalldusts to json
This commit is contained in:
parent
3da6083c68
commit
8012abee3b
133 changed files with 700 additions and 77 deletions
|
@ -7,10 +7,7 @@ import net.minecraft.util.ResourceLocation;
|
|||
import net.minecraftforge.client.model.ModelLoader;
|
||||
import techreborn.init.ModBlocks;
|
||||
import techreborn.init.ModItems;
|
||||
import techreborn.items.ItemGems;
|
||||
import techreborn.items.ItemIngots;
|
||||
import techreborn.items.ItemNuggets;
|
||||
import techreborn.items.ItemPlates;
|
||||
import techreborn.items.*;
|
||||
|
||||
public class RegisterItemJsons {
|
||||
public static void registerModels() {
|
||||
|
@ -59,6 +56,16 @@ public class RegisterItemJsons {
|
|||
String[] name = ItemNuggets.types.clone();
|
||||
registerBlockstate(ModItems.nuggets, i, name[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < ItemDusts.types.length; ++i) {
|
||||
String[] name = ItemDusts.types.clone();
|
||||
registerBlockstate(ModItems.dusts, i, name[i]);
|
||||
}
|
||||
|
||||
for (int i = 0; i < ItemDustsSmall.types.length; ++i) {
|
||||
String[] name = ItemDustsSmall.types.clone();
|
||||
registerBlockstate(ModItems.smallDusts, i, name[i]);
|
||||
}
|
||||
}
|
||||
|
||||
private static void registerBlocks() {
|
||||
|
|
|
@ -1222,7 +1222,7 @@ public class ModRecipes {
|
|||
new AlloySmelterRecipe(new ItemStack(Items.IRON_INGOT, 1), new ItemStack(Items.ENDER_PEARL, 1),
|
||||
pulsatingIronStack, 200, 16));
|
||||
RecipeHandler.addRecipe(
|
||||
new AlloySmelterRecipe(new ItemStack(Items.IRON_INGOT, 1), ItemDusts.getDustByName("enderPearl", 1),
|
||||
new AlloySmelterRecipe(new ItemStack(Items.IRON_INGOT, 1), ItemDusts.getDustByName("ender_pearl", 1),
|
||||
pulsatingIronStack, 200, 16));
|
||||
}
|
||||
|
||||
|
@ -1236,7 +1236,7 @@ public class ModRecipes {
|
|||
new AlloySmelterRecipe(energeticAlloyStack, new ItemStack(Items.ENDER_PEARL, 1), vibrantAlloyStack,
|
||||
200, 16));
|
||||
RecipeHandler.addRecipe(
|
||||
new AlloySmelterRecipe(energeticAlloyStack, ItemDusts.getDustByName("enderPearl", 1),
|
||||
new AlloySmelterRecipe(energeticAlloyStack, ItemDusts.getDustByName("ender_pearl", 1),
|
||||
vibrantAlloyStack, 200, 16));
|
||||
}
|
||||
|
||||
|
@ -1300,20 +1300,20 @@ public class ModRecipes {
|
|||
|
||||
RecipeHandler.addRecipe(
|
||||
new BlastFurnaceRecipe(new ItemStack(Items.IRON_INGOT), ItemDusts.getDustByName("coal", 2),
|
||||
ItemIngots.getIngotByName("steel"), ItemDusts.getDustByName("darkAshes", 2), 500, 120, 1000));
|
||||
ItemIngots.getIngotByName("steel"), ItemDusts.getDustByName("dark_ashes", 2), 500, 120, 1000));
|
||||
|
||||
RecipeHandler.addRecipe(
|
||||
new BlastFurnaceRecipe(ItemIngots.getIngotByName("tungsten"), ItemIngots.getIngotByName("steel"),
|
||||
ItemIngots.getIngotByName("hot_tungstensteel"), ItemDusts.getDustByName("darkAshes", 4), 500,
|
||||
ItemIngots.getIngotByName("hot_tungstensteel"), ItemDusts.getDustByName("dark_ashes", 4), 500,
|
||||
500, 3000));
|
||||
|
||||
RecipeHandler.addRecipe(
|
||||
new BlastFurnaceRecipe(new ItemStack(Blocks.IRON_ORE), ItemDusts.getDustByName("calcite"),
|
||||
new ItemStack(Items.IRON_INGOT, 3), ItemDusts.getDustByName("darkAshes"), 140, 120, 1000));
|
||||
new ItemStack(Items.IRON_INGOT, 3), ItemDusts.getDustByName("dark_ashes"), 140, 120, 1000));
|
||||
|
||||
RecipeHandler.addRecipe(
|
||||
new BlastFurnaceRecipe(BlockOre.getOreByName("Pyrite"), ItemDusts.getDustByName("calcite"),
|
||||
new ItemStack(Items.IRON_INGOT, 2), ItemDusts.getDustByName("darkAshes"), 140, 120, 1000));
|
||||
new ItemStack(Items.IRON_INGOT, 2), ItemDusts.getDustByName("dark_ashes"), 140, 120, 1000));
|
||||
}
|
||||
|
||||
static void addUUrecipes() {
|
||||
|
@ -1472,7 +1472,7 @@ public class ModRecipes {
|
|||
|
||||
// Blaze Powder Byproducts
|
||||
RecipeHandler.addRecipe(
|
||||
new CentrifugeRecipe(new ItemStack(Items.BLAZE_POWDER), null, ItemDusts.getDustByName("darkAshes", 1),
|
||||
new CentrifugeRecipe(new ItemStack(Items.BLAZE_POWDER), null, ItemDusts.getDustByName("dark_ashes", 1),
|
||||
ItemDusts.getDustByName("sulfur", 1), null, null, 1240, 5));
|
||||
|
||||
// Magma Cream Products
|
||||
|
@ -1501,15 +1501,15 @@ public class ModRecipes {
|
|||
RecipeHandler.addRecipe(
|
||||
new CentrifugeRecipe(ItemDusts.getDustByName("basalt", 16), null, ItemDusts.getDustByName("peridot", 1),
|
||||
ItemDusts.getDustByName("calcite", 3), ItemDusts.getDustByName("magnesium", 8),
|
||||
ItemDusts.getDustByName("darkAshes", 4), 2680, 5));
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("yellowGarnet", 16), null,
|
||||
ItemDusts.getDustByName("dark_ashes", 4), 2680, 5));
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("yellow_garnet", 16), null,
|
||||
ItemDusts.getDustByName("andradite", 5), ItemDusts.getDustByName("grossular", 8),
|
||||
ItemDusts.getDustByName("uvarovite", 3), null, 2940, 5));
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("redGarnet", 16), null,
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("red_garnet", 16), null,
|
||||
ItemDusts.getDustByName("pyrope", 3), ItemDusts.getDustByName("almandine", 5),
|
||||
ItemDusts.getDustByName("spessartine", 8), null, 2940, 5));
|
||||
RecipeHandler.addRecipe(
|
||||
new CentrifugeRecipe(ItemDusts.getDustByName("darkAshes", 2), null, ItemDusts.getDustByName("ashes", 2),
|
||||
new CentrifugeRecipe(ItemDusts.getDustByName("dark_ashes", 2), null, ItemDusts.getDustByName("ashes", 2),
|
||||
null, null, null, 240, 5));
|
||||
RecipeHandler.addRecipe(
|
||||
new CentrifugeRecipe(ItemDusts.getDustByName("brass", 4), null, ItemDusts.getDustByName("zinc", 1),
|
||||
|
@ -1521,8 +1521,8 @@ public class ModRecipes {
|
|||
new CentrifugeRecipe(ItemDusts.getDustByName("netherrack", 16), null, new ItemStack(Items.REDSTONE, 1),
|
||||
ItemDusts.getDustByName("sulfur", 4), ItemDusts.getDustByName("basalt", 1),
|
||||
new ItemStack(Items.GOLD_NUGGET, 1), 2400, 5));
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("enderEye", 1), null,
|
||||
ItemDusts.getDustByName("enderPearl", 1), new ItemStack(Items.BLAZE_POWDER, 1), null, null, 1280, 5));
|
||||
RecipeHandler.addRecipe(new CentrifugeRecipe(ItemDusts.getDustByName("ender_eye", 1), null,
|
||||
ItemDusts.getDustByName("ender_pearl", 1), new ItemStack(Items.BLAZE_POWDER, 1), null, null, 1280, 5));
|
||||
|
||||
RecipeHandler.addRecipe(
|
||||
new CentrifugeRecipe(new ItemStack(Items.GLOWSTONE_DUST, 16), RecipeUtils.getEmptyCell(1),
|
||||
|
@ -1886,12 +1886,12 @@ public class ModRecipes {
|
|||
// Sphalerite Ore
|
||||
RecipeHandler.addRecipe(new IndustrialGrinderRecipe(new ItemStack(ModBlocks.ore, 1, 7),
|
||||
new FluidStack(FluidRegistry.WATER, 1000), ItemDusts.getDustByName("sphalerite", 2),
|
||||
ItemDustsSmall.getSmallDustByName("Zinc", 1), ItemDustsSmall.getSmallDustByName("YellowGarnet", 1),
|
||||
ItemDustsSmall.getSmallDustByName("Zinc", 1), ItemDustsSmall.getSmallDustByName("yellow_garnet", 1),
|
||||
null, 100, 120));
|
||||
|
||||
RecipeHandler.addRecipe(new IndustrialGrinderRecipe(new ItemStack(ModBlocks.ore, 1, 7),
|
||||
new FluidStack(ModFluids.fluidSodiumpersulfate, 1000), ItemDusts.getDustByName("sphalerite", 2),
|
||||
ItemDusts.getDustByName("zinc", 1), ItemDustsSmall.getSmallDustByName("YellowGarnet", 1), null, 100,
|
||||
ItemDusts.getDustByName("zinc", 1), ItemDustsSmall.getSmallDustByName("yellow_garnet", 1), null, 100,
|
||||
120));
|
||||
|
||||
// Tungsten Ore
|
||||
|
@ -2852,29 +2852,29 @@ public class ModRecipes {
|
|||
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemIngots.getIngotByName("iridium_alloy"),
|
||||
new ItemStack(Blocks.TNT, 8),
|
||||
OreDictionary.getOres("plateIridium").get(0).copy(), ItemDusts.getDustByName("darkAshes", 4), 20, 30));
|
||||
OreDictionary.getOres("plateIridium").get(0).copy(), ItemDusts.getDustByName("dark_ashes", 4), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("diamond", 4),
|
||||
new ItemStack(Blocks.TNT, 32),
|
||||
new ItemStack(Items.DIAMOND, 3),
|
||||
ItemDusts.getDustByName("darkAshes", 16), 20, 30));
|
||||
ItemDusts.getDustByName("dark_ashes", 16), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("emerald", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
new ItemStack(Items.EMERALD, 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
new ItemStack(Items.EMERALD, 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("sapphire", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
ItemGems.getGemByName("sapphire", 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
ItemGems.getGemByName("sapphire", 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("ruby", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
ItemGems.getGemByName("ruby", 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("yellowGarnet", 4),
|
||||
ItemGems.getGemByName("ruby", 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("yellow_garnet", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
ItemGems.getGemByName("yellow_garnet", 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("redGarnet", 4),
|
||||
ItemGems.getGemByName("yellow_garnet", 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("red_garnet", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
ItemGems.getGemByName("red_garnet", 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
ItemGems.getGemByName("red_garnet", 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
RecipeHandler.addRecipe(new ImplosionCompressorRecipe(ItemDusts.getDustByName("peridot", 4),
|
||||
new ItemStack(Blocks.TNT, 24),
|
||||
ItemGems.getGemByName("peridot", 3), ItemDusts.getDustByName("darkAshes", 12), 20, 30));
|
||||
ItemGems.getGemByName("peridot", 3), ItemDusts.getDustByName("dark_ashes", 12), 20, 30));
|
||||
|
||||
// grinder
|
||||
|
||||
|
@ -2953,7 +2953,7 @@ public class ModRecipes {
|
|||
new FluidStack(FluidRegistry.WATER, 1000),
|
||||
ItemDusts.getDustByName("sphalerite", 2),
|
||||
ItemDustsSmall.getSmallDustByName("Zinc", 1),
|
||||
ItemDustsSmall.getSmallDustByName("YellowGarnet", 1),
|
||||
ItemDustsSmall.getSmallDustByName("yellow_garnet", 1),
|
||||
null, 100, 120));
|
||||
|
||||
RecipeHandler.addRecipe(new IndustrialGrinderRecipe(
|
||||
|
@ -2961,7 +2961,7 @@ public class ModRecipes {
|
|||
new FluidStack(ModFluids.fluidSodiumpersulfate, 1000),
|
||||
ItemDusts.getDustByName("sphalerite", 2),
|
||||
ItemDusts.getDustByName("zinc", 1),
|
||||
ItemDustsSmall.getSmallDustByName("YellowGarnet", 1),
|
||||
ItemDustsSmall.getSmallDustByName("yellow_garnet", 1),
|
||||
null, 100, 120));
|
||||
|
||||
RecipeHandler.addRecipe(new IndustrialGrinderRecipe(
|
||||
|
@ -3134,7 +3134,7 @@ public class ModRecipes {
|
|||
// ItemCells.getCellByName("hydrogen", 4), ItemCells.getCellByName("empty", 5),
|
||||
// ItemCells.getCellByName("empty", 1), null, 100, 30));
|
||||
|
||||
RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(ItemDusts.getDustByName("darkAshes"),
|
||||
RecipeHandler.addRecipe(new IndustrialElectrolyzerRecipe(ItemDusts.getDustByName("dark_ashes"),
|
||||
ItemCells.getCellByName("empty", 2), ItemCells.getCellByName("carbon", 2), null, null, null, 20, 30));
|
||||
|
||||
if (OreUtil.doesOreExistAndValid("dustSalt")) {
|
||||
|
|
|
@ -11,7 +11,6 @@ import techreborn.Core;
|
|||
import techreborn.blocks.BlockMachineFrame;
|
||||
import techreborn.items.*;
|
||||
import techreborn.parts.powerCables.ItemStandaloneCables;
|
||||
import techreborn.utils.OreDictUtils;
|
||||
|
||||
public class OreDict {
|
||||
|
||||
|
@ -76,9 +75,8 @@ public class OreDict {
|
|||
|
||||
OreDictionary.registerOre("materialResin", ItemParts.getPartByName("rubberSap"));
|
||||
OreDictionary.registerOre("materialRubber", ItemParts.getPartByName("rubber"));
|
||||
OreDictionary.registerOre("pulpWood", ItemDusts.getDustByName("sawDust"));
|
||||
OreDictionary.registerOre("pulpWood", ItemDusts.getDustByName("saw_dust"));
|
||||
|
||||
//Gems registration
|
||||
for (String type : ItemGems.types) {
|
||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||
continue; //Aware of placeholders!
|
||||
|
@ -91,7 +89,6 @@ public class OreDict {
|
|||
ItemPlates.registerType(type);
|
||||
}
|
||||
|
||||
//Ingots registration
|
||||
for (String type : ItemIngots.types) {
|
||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||
continue; //Aware of placeholders!
|
||||
|
@ -104,20 +101,23 @@ public class OreDict {
|
|||
ItemPlates.registerType(type);
|
||||
}
|
||||
|
||||
//Dusts, nuggets and plates auto-registration
|
||||
|
||||
for (String type : ItemPlates.types) {
|
||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||
continue; //Aware of placeholders!
|
||||
OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "plate_" + type), ItemPlates.getPlateByName(type));
|
||||
}
|
||||
|
||||
//still need to switch these to snake_case and json
|
||||
for (String type : ItemDusts.types) {
|
||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||
continue; //Aware of placeholders!
|
||||
String oreDictName = "dust" + OreDictUtils.toFirstUpper(type);
|
||||
OreDictionary.registerOre(oreDictName, ItemDusts.getDustByName(type));
|
||||
OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "dust_" + type), ItemDusts.getDustByName(type));
|
||||
}
|
||||
|
||||
for (String type : ItemDustsSmall.types) {
|
||||
if (type.equals(ModItems.META_PLACEHOLDER))
|
||||
continue; //Aware of placeholders!
|
||||
OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "dust_tiny_" + type), ItemDustsSmall.getSmallDustByName(type));
|
||||
OreDictionary.registerOre(CaseFormat.LOWER_UNDERSCORE.to(CaseFormat.LOWER_CAMEL, "dust_small_" + type), ItemDustsSmall.getSmallDustByName(type));
|
||||
}
|
||||
|
||||
for (String type : ItemNuggets.types) {
|
||||
|
|
|
@ -11,14 +11,14 @@ import techreborn.lib.ModInfo;
|
|||
|
||||
import java.security.InvalidParameterException;
|
||||
|
||||
public class ItemDusts extends ItemTextureBase {
|
||||
public class ItemDusts extends ItemTRNoDestroy {
|
||||
public static final String[] types = new String[] { "almandine", "aluminum", "andradite", "ashes", "basalt",
|
||||
"bauxite", "brass", "bronze", "calcite", "charcoal", "chrome", "cinnabar", "clay", "coal", "copper",
|
||||
"darkAshes", "diamond", "electrum", "emerald", "enderEye", "enderPearl", "endstone", "flint", "galena",
|
||||
"dark_ashes", "diamond", "electrum", "emerald", "ender_eye", "ender_pearl", "endstone", "flint", "galena",
|
||||
"gold", "grossular", "invar", "iron", "lazurite", "lead", "magnesium", "manganese", "marble", "netherrack",
|
||||
"nickel", "obsidian", "peridot", "phosphorous", "platinum", "pyrite", "pyrope", "redGarnet", ModItems.META_PLACEHOLDER,
|
||||
"ruby", "saltpeter", "sapphire", "sawDust", "silver", "sodalite", "spessartine", "sphalerite", "steel",
|
||||
"sulfur", "tin", "titanium", "tungsten", "uvarovite", ModItems.META_PLACEHOLDER, "yellowGarnet", "zinc",
|
||||
"nickel", "obsidian", "peridot", "phosphorous", "platinum", "pyrite", "pyrope", "red_garnet", ModItems.META_PLACEHOLDER,
|
||||
"ruby", "saltpeter", "sapphire", "saw_dust", "silver", "sodalite", "spessartine", "sphalerite", "steel",
|
||||
"sulfur", "tin", "titanium", "tungsten", "uvarovite", ModItems.META_PLACEHOLDER, "yellow_garnet", "zinc",
|
||||
"olivine", "andesite", "diorite", "granite" };
|
||||
|
||||
public ItemDusts() {
|
||||
|
@ -74,17 +74,4 @@ public class ItemDusts extends ItemTextureBase {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureName(int damage) {
|
||||
if (types[damage].equals("%NULL%")) {
|
||||
damage = 0;
|
||||
}
|
||||
return ModInfo.MOD_ID + ":items/dust/" + types[damage] + "Dust";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxMeta() {
|
||||
return types.length;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -11,15 +11,15 @@ import techreborn.lib.ModInfo;
|
|||
|
||||
import java.security.InvalidParameterException;
|
||||
|
||||
public class ItemDustsSmall extends ItemTextureBase {
|
||||
public class ItemDustsSmall extends ItemTRNoDestroy {
|
||||
|
||||
public static final String[] types = new String[] { "almandine", "aluminum", "andradite", "ashes", "basalt",
|
||||
"bauxite", "brass", "bronze", "calcite", "charcoal", "chrome", "cinnabar", "clay", "coal", "copper",
|
||||
"darkAshes", "diamond", "electrum", "emerald", "enderEye", "enderPearl", "endstone", "flint", "galena",
|
||||
"dark_ashes", "diamond", "electrum", "emerald", "ender_eye", "ender_pearl", "endstone", "flint", "galena",
|
||||
"gold", "grossular", "invar", "iron", "lazurite", "lead", "magnesium", "manganese", "marble", "netherrack",
|
||||
"nickel", "obsidian", "peridot", "phosphorous", "platinum", "pyrite", "pyrope", "redGarnet", ModItems.META_PLACEHOLDER,
|
||||
"ruby", "saltpeter", "sapphire", "sawDust", "silver", "sodalite", "spessartine", "sphalerite", "steel",
|
||||
"sulfur", "tin", "titanium", "tungsten", "uvarovite", ModItems.META_PLACEHOLDER, "yellowGarnet", "zinc",
|
||||
"nickel", "obsidian", "peridot", "phosphorous", "platinum", "pyrite", "pyrope", "red_garnet", ModItems.META_PLACEHOLDER,
|
||||
"ruby", "saltpeter", "sapphire", "saw_dust", "silver", "sodalite", "spessartine", "sphalerite", "steel",
|
||||
"sulfur", "tin", "titanium", "tungsten", "uvarovite", ModItems.META_PLACEHOLDER, "yellow_garnet", "zinc",
|
||||
"olivine", "redstone", "glowstone", "andesite", "diorite", "granite" };
|
||||
|
||||
public ItemDustsSmall() {
|
||||
|
@ -64,17 +64,4 @@ public class ItemDustsSmall extends ItemTextureBase {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getTextureName(int damage) {
|
||||
if (types[damage].equals(ModItems.META_PLACEHOLDER)) {
|
||||
damage = 0;
|
||||
}
|
||||
return ModInfo.MOD_ID + ":items/smallDust/small" + StringUtils.toFirstCapital(types[damage]) + "Dust";
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMaxMeta() {
|
||||
return types.length;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue