Move itemblock jsons to their own subfolder

This commit is contained in:
Vincent Lee committed 2016-07-23 16:04:03 -05:00
1 parent bedbf55b33
commit 6264ebddbc
12 files changed
+2 -2

No files matched your search

@@ -808,7 +808,7 @@ public final class ModelHandler {
private static void registerWalls() {
Item item = Item.getItemFromBlock(ModFluffBlocks.biomeStoneWall);
for (BiomeStoneVariant variant : BotaniaStateProps.BIOMESTONEWALL_VARIANT.getAllowedValues()) {
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation(LibMisc.MOD_ID + ":" + variant.getName() + "_wall", "inventory"));
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation(LibMisc.MOD_ID + ":itemblock/" + variant.getName() + "_wall", "inventory"));
}
registerBlock(ModFluffBlocks.livingrockWall, "livingrock_wall");
@@ -886,7 +886,7 @@ public final class ModelHandler {
private static void registerBlock(Block b, String name) {
ModelLoader.setCustomModelResourceLocation(
Item.getItemFromBlock(b), 0,
new ModelResourceLocation(LibMisc.MOD_ID + ":" + name, "inventory"));
new ModelResourceLocation(LibMisc.MOD_ID + ":itemblock/" + name, "inventory"));
}
private static void registerItemModel(Block b) {