mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix some walls being flipped, separate the models out
This commit is contained in:
13 files changed
+105
-90
No files matched your search
@@ -811,9 +811,9 @@ public final class ModelHandler {
|
||||
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation("botania:biomeStoneA0Wall", variantName));
|
||||
}
|
||||
|
||||
registerItemModel(ModFluffBlocks.livingrockWall);
|
||||
registerItemModel(ModFluffBlocks.livingwoodWall);
|
||||
registerItemModel(ModFluffBlocks.dreamwoodWall);
|
||||
registerBlock(ModFluffBlocks.livingrockWall, "livingrock_wall");
|
||||
registerBlock(ModFluffBlocks.livingwoodWall, "livingwood_wall");
|
||||
registerBlock(ModFluffBlocks.dreamwoodWall, "dreamwood_wall");
|
||||
}
|
||||
|
||||
private static void registerPanes() {
|
||||
@@ -883,6 +883,12 @@ 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"));
|
||||
}
|
||||
|
||||
private static void registerItemModel(Block b) {
|
||||
registerItemModel(Item.getItemFromBlock(b));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user