Separate out biome wall models. Don't worry it'll get organized. Closes #401

This commit is contained in:
Vincent Lee committed 2016-07-23 15:58:03 -05:00
1 parent a5d688883e
commit bedbf55b33
33 files changed
+299 -3

No files matched your search

@@ -610,7 +610,8 @@ public final class ModelHandler {
ModelLoader.setCustomStateMapper(ModBlocks.buriedPetals, (new StateMap.Builder()).ignore(((BlockFlower) ModBlocks.buriedPetals).getTypeProperty()).build());
// Ignore vanilla variant in walls
ModelLoader.setCustomStateMapper(ModFluffBlocks.biomeStoneWall, (new StateMap.Builder()).ignore(BlockWall.VARIANT).build());
ModelLoader.setCustomStateMapper(ModFluffBlocks.biomeStoneWall,
(new StateMap.Builder()).withName(BotaniaStateProps.BIOMESTONEWALL_VARIANT).ignore(BlockWall.VARIANT).withSuffix("_wall").build());
ModelLoader.setCustomStateMapper(ModFluffBlocks.dreamwoodWall, (new StateMap.Builder()).ignore(BlockWall.VARIANT).build());
ModelLoader.setCustomStateMapper(ModFluffBlocks.livingrockWall, (new StateMap.Builder()).ignore(BlockWall.VARIANT).build());
ModelLoader.setCustomStateMapper(ModFluffBlocks.livingwoodWall, (new StateMap.Builder()).ignore(BlockWall.VARIANT).build());
@@ -807,8 +808,7 @@ public final class ModelHandler {
private static void registerWalls() {
Item item = Item.getItemFromBlock(ModFluffBlocks.biomeStoneWall);
for (BiomeStoneVariant variant : BotaniaStateProps.BIOMESTONEWALL_VARIANT.getAllowedValues()) {
String variantName = "inventory_" + variant.getName();
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation("botania:biomeStoneA0Wall", variantName));
ModelLoader.setCustomModelResourceLocation(item, variant.ordinal() - 8, new ModelResourceLocation(LibMisc.MOD_ID + ":" + variant.getName() + "_wall", "inventory"));
}
registerBlock(ModFluffBlocks.livingrockWall, "livingrock_wall");
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:desert_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:desert_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:desert_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:desert_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:desert_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:forest_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:forest_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:forest_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:forest_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:forest_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:fungal_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:fungal_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:fungal_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:fungal_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:fungal_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:mesa_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:mesa_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:mesa_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:mesa_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:mesa_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:mountain_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:mountain_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:mountain_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:mountain_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:mountain_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:plains_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:plains_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:plains_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:plains_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:plains_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:swamp_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:swamp_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:swamp_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:swamp_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:swamp_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,19 @@
{
"multipart": [
{ "when": { "up": "true" },
"apply": { "model": "botania:taiga_cobble_wall_post" }
},
{ "when": { "north": "true" },
"apply": { "model": "botania:taiga_cobble_wall_side", "uvlock": true }
},
{ "when": { "east": "true" },
"apply": { "model": "botania:taiga_cobble_wall_side", "y": 90, "uvlock": true }
},
{ "when": { "south": "true" },
"apply": { "model": "botania:taiga_cobble_wall_side", "y": 180, "uvlock": true }
},
{ "when": { "west": "true" },
"apply": { "model": "botania:taiga_cobble_wall_side", "y": 270, "uvlock": true }
}
]
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone13"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone13"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone8"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone8"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone11"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone11"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone15"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone15"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone10"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone10"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone9"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone9"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone12"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone12"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_post",
"textures": {
"wall": "botania:blocks/biomeStone14"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_side",
"textures": {
"wall": "botania:blocks/biomeStone14"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone13"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone8"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone11"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone15"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone10"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone9"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone12"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/wall_inventory",
"textures": {
"wall": "botania:blocks/biomeStone14"
}
}