Some more work on deduplicating ic2 items/blocks

This commit is contained in:
modmuss50 2016-12-21 17:31:52 +00:00
parent bfcc3a2117
commit 5ff09a7eda
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82
8 changed files with 321 additions and 204 deletions

View file

@ -12,6 +12,7 @@ import net.minecraft.util.EnumHand;
import net.minecraft.util.math.BlockPos;
import net.minecraft.util.text.TextComponentString;
import net.minecraftforge.fluids.Fluid;
import net.minecraftforge.oredict.OreDictionary;
import reborncore.api.fuel.FluidPowerManager;
import reborncore.api.recipe.RecipeHandler;
import techreborn.dev.JsonGenerator;
@ -87,6 +88,10 @@ public class TechRebornDevCommand extends CommandBase {
e.printStackTrace();
sender.addChatMessage(new TextComponentString(e.getLocalizedMessage()));
}
} else if ("ores".equals(args[0])) {
for(String ore: OreDictionary.getOreNames()){
System.out.println(ore);
}
}
}
}