mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-25 06:24:27 +00:00
Panes
This commit is contained in:
7 files changed
+24
-31
No files matched your search
@@ -136,7 +136,6 @@ public final class ModelHandler {
|
||||
registerStairs();
|
||||
registerSlabs();
|
||||
registerWalls();
|
||||
registerPanes();
|
||||
registerQuartzBlocks();
|
||||
|
||||
/** Normal Items **/
|
||||
@@ -259,7 +258,9 @@ public final class ModelHandler {
|
||||
private static void registerStandardBlocks() {
|
||||
registerBlockStandardPath(ModBlocks.alchemyCatalyst);
|
||||
registerBlockStandardPath(ModBlocks.alfPortal);
|
||||
registerBlockCustomPath(ModFluffBlocks.alfglassPane, "alfglass_pane");
|
||||
registerBlockStandardPath(ModBlocks.bifrost);
|
||||
registerBlockCustomPath(ModFluffBlocks.bifrostPane, "bifrost_pane");
|
||||
registerBlockStandardPath(ModBlocks.bifrostPerm);
|
||||
registerBlockStandardPath(ModBlocks.blazeBlock);
|
||||
registerBlockStandardPath(ModBlocks.cacophonium);
|
||||
@@ -290,6 +291,7 @@ public final class ModelHandler {
|
||||
registerBlockStandardPath(ModBlocks.manaBomb);
|
||||
registerBlockStandardPath(ModBlocks.manaDetector);
|
||||
registerBlockStandardPath(ModBlocks.manaGlass);
|
||||
registerBlockCustomPath(ModFluffBlocks.managlassPane, "managlass_pane");
|
||||
registerBlockStandardPath(ModBlocks.manaVoid);
|
||||
registerBlockCustomPathMetas(ModBlocks.mushroom, EnumDyeColor.values().length, i -> "mushroom_" + EnumDyeColor.byMetadata(i).getName());
|
||||
registerBlockStandardPath(ModBlocks.prism);
|
||||
@@ -769,12 +771,6 @@ public final class ModelHandler {
|
||||
registerBlockCustomPath(ModFluffBlocks.dreamwoodWall, "dreamwood_wall");
|
||||
}
|
||||
|
||||
private static void registerPanes() {
|
||||
registerBlockStandardPath(ModFluffBlocks.alfglassPane);
|
||||
registerBlockStandardPath(ModFluffBlocks.bifrostPane);
|
||||
registerBlockStandardPath(ModFluffBlocks.managlassPane);
|
||||
}
|
||||
|
||||
private static void registerQuartzBlocks() {
|
||||
for (Block b : Lists.newArrayList(ModFluffBlocks.blazeQuartz, ModFluffBlocks.darkQuartz, ModFluffBlocks.elfQuartz, ModFluffBlocks.lavenderQuartz, ModFluffBlocks.manaQuartz, ModFluffBlocks.redQuartz, ModFluffBlocks.sunnyQuartz)) {
|
||||
if (b == null) // Dark quartz disabled
|
||||
|
||||
@@ -23,13 +23,6 @@
|
||||
"east": {
|
||||
"true": { "submodel": { "eside": { "model": "minecraft:pane_side", "y": 90 } } },
|
||||
"false": { "submodel": { "eside": { "model": "minecraft:pane_noside_alt" } } }
|
||||
},
|
||||
"inventory": [{
|
||||
"transform": "forge:default-item",
|
||||
"model": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/bifrost"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,13 +23,6 @@
|
||||
"east": {
|
||||
"true": { "submodel": { "eside": { "model": "minecraft:pane_side", "y": 90 } } },
|
||||
"false": { "submodel": { "eside": { "model": "minecraft:pane_noside_alt" } } }
|
||||
},
|
||||
"inventory": [{
|
||||
"transform": "forge:default-item",
|
||||
"model": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/elfGlass"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,13 +23,6 @@
|
||||
"east": {
|
||||
"true": { "submodel": { "eside": { "model": "minecraft:pane_side", "y": 90 } } },
|
||||
"false": { "submodel": { "eside": { "model": "minecraft:pane_noside_alt" } } }
|
||||
},
|
||||
"inventory": [{
|
||||
"transform": "forge:default-item",
|
||||
"model": "builtin/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/manaGlass"
|
||||
}
|
||||
}]
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/elfGlass"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/bifrost"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"parent": "minecraft:item/generated",
|
||||
"textures": {
|
||||
"layer0": "botania:blocks/manaGlass"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user