Fix inconsistencies with model/blockstate datagen

This commit is contained in:
tterrag committed 2020-07-18 18:34:35 -04:00
1 parent 96b9a057b7
commit a3edfd3748
54 files changed
+247 -146

No files matched your search

@@ -1,7 +1,7 @@
{
"parent": "block/door_bottom",
"parent": "minecraft:block/door_bottom",
"textures": {
"bottom": "block/acacia_door_bottom",
"top": "block/acacia_door_top"
"bottom": "minecraft:block/acacia_door_bottom",
"top": "minecraft:block/acacia_door_top"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/door_bottom_rh",
"parent": "minecraft:block/door_bottom_rh",
"textures": {
"bottom": "block/acacia_door_bottom",
"top": "block/acacia_door_top"
"bottom": "minecraft:block/acacia_door_bottom",
"top": "minecraft:block/acacia_door_top"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/door_top",
"parent": "minecraft:block/door_top",
"textures": {
"bottom": "block/acacia_door_bottom",
"top": "block/acacia_door_top"
"bottom": "minecraft:block/acacia_door_bottom",
"top": "minecraft:block/acacia_door_top"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/door_top_rh",
"parent": "minecraft:block/door_top_rh",
"textures": {
"bottom": "block/acacia_door_bottom",
"top": "block/acacia_door_top"
"bottom": "minecraft:block/acacia_door_bottom",
"top": "minecraft:block/acacia_door_top"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate",
"parent": "minecraft:block/template_fence_gate",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_open",
"parent": "minecraft:block/template_fence_gate_open",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_wall",
"parent": "minecraft:block/template_fence_gate_wall",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_wall_open",
"parent": "minecraft:block/template_fence_gate_wall_open",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/fence_post",
"parent": "minecraft:block/fence_post",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/fence_side",
"parent": "minecraft:block/fence_side",
"textures": {
"texture": "block/acacia_planks"
"texture": "minecraft:block/acacia_planks"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/cube_column",
"parent": "minecraft:block/cube_column",
"textures": {
"side": "block/acacia_log",
"end": "block/acacia_log_top"
"side": "minecraft:block/acacia_log",
"end": "minecraft:block/acacia_log_top"
}
}
@@ -0,0 +1,7 @@
{
"parent": "minecraft:block/cube_column_horizontal",
"textures": {
"side": "minecraft:block/acacia_log",
"end": "minecraft:block/acacia_log_top"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/slab",
"parent": "minecraft:block/slab",
"textures": {
"side": "block/acacia_planks",
"bottom": "block/acacia_planks",
"top": "block/acacia_planks"
"side": "minecraft:block/acacia_planks",
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/slab_top",
"parent": "minecraft:block/slab_top",
"textures": {
"side": "block/acacia_planks",
"bottom": "block/acacia_planks",
"top": "block/acacia_planks"
"side": "minecraft:block/acacia_planks",
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/stairs",
"parent": "minecraft:block/stairs",
"textures": {
"side": "block/acacia_planks",
"bottom": "block/acacia_planks",
"top": "block/acacia_planks"
"side": "minecraft:block/acacia_planks",
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/inner_stairs",
"parent": "minecraft:block/inner_stairs",
"textures": {
"side": "block/acacia_planks",
"bottom": "block/acacia_planks",
"top": "block/acacia_planks"
"side": "minecraft:block/acacia_planks",
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/outer_stairs",
"parent": "minecraft:block/outer_stairs",
"textures": {
"side": "block/acacia_planks",
"bottom": "block/acacia_planks",
"top": "block/acacia_planks"
"side": "minecraft:block/acacia_planks",
"bottom": "minecraft:block/acacia_planks",
"top": "minecraft:block/acacia_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_orientable_trapdoor_bottom",
"parent": "minecraft:block/template_orientable_trapdoor_bottom",
"textures": {
"texture": "block/acacia_trapdoor"
"texture": "minecraft:block/acacia_trapdoor"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_orientable_trapdoor_open",
"parent": "minecraft:block/template_orientable_trapdoor_open",
"textures": {
"texture": "block/acacia_trapdoor"
"texture": "minecraft:block/acacia_trapdoor"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_orientable_trapdoor_top",
"parent": "minecraft:block/template_orientable_trapdoor_top",
"textures": {
"texture": "block/acacia_trapdoor"
"texture": "minecraft:block/acacia_trapdoor"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/cube_bottom_top",
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"side": "block/barrel_side",
"bottom": "block/barrel_bottom",
"top": "block/barrel_top"
"side": "minecraft:block/barrel_side",
"bottom": "minecraft:block/barrel_bottom",
"top": "minecraft:block/barrel_top"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/cube_bottom_top",
"parent": "minecraft:block/cube_bottom_top",
"textures": {
"side": "block/barrel_side",
"bottom": "block/barrel_bottom",
"top": "block/barrel_top_open"
"side": "minecraft:block/barrel_side",
"bottom": "minecraft:block/barrel_bottom",
"top": "minecraft:block/barrel_top_open"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate",
"parent": "minecraft:block/template_fence_gate",
"textures": {
"texture": "block/birch_planks"
"texture": "minecraft:block/birch_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_open",
"parent": "minecraft:block/template_fence_gate_open",
"textures": {
"texture": "block/birch_planks"
"texture": "minecraft:block/birch_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_wall",
"parent": "minecraft:block/template_fence_gate_wall",
"textures": {
"texture": "block/birch_planks"
"texture": "minecraft:block/birch_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_fence_gate_wall_open",
"parent": "minecraft:block/template_fence_gate_wall_open",
"textures": {
"texture": "block/birch_planks"
"texture": "minecraft:block/birch_planks"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_wall_post",
"parent": "minecraft:block/template_wall_post",
"textures": {
"wall": "block/cobblestone"
"wall": "minecraft:block/cobblestone"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_wall_side",
"parent": "minecraft:block/template_wall_side",
"textures": {
"wall": "block/cobblestone"
"wall": "minecraft:block/cobblestone"
}
}
@@ -0,0 +1,6 @@
{
"parent": "minecraft:block/template_wall_side_tall",
"textures": {
"wall": "minecraft:block/cobblestone"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/orientable",
"parent": "minecraft:block/orientable",
"textures": {
"side": "block/furnace_side",
"front": "block/furnace_front",
"top": "block/furnace_top"
"side": "minecraft:block/furnace_side",
"front": "minecraft:block/furnace_front",
"top": "minecraft:block/furnace_top"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/orientable",
"parent": "minecraft:block/orientable",
"textures": {
"side": "block/furnace_side",
"front": "block/furnace_front_on",
"top": "block/furnace_top"
"side": "minecraft:block/furnace_side",
"front": "minecraft:block/furnace_front_on",
"top": "minecraft:block/furnace_top"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_glass_pane_noside",
"parent": "minecraft:block/template_glass_pane_noside",
"textures": {
"pane": "block/glass"
"pane": "minecraft:block/glass"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_glass_pane_noside_alt",
"parent": "minecraft:block/template_glass_pane_noside_alt",
"textures": {
"pane": "block/glass"
"pane": "minecraft:block/glass"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/template_glass_pane_post",
"parent": "minecraft:block/template_glass_pane_post",
"textures": {
"pane": "block/glass",
"edge": "block/glass_pane_top"
"pane": "minecraft:block/glass",
"edge": "minecraft:block/glass_pane_top"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/template_glass_pane_side",
"parent": "minecraft:block/template_glass_pane_side",
"textures": {
"pane": "block/glass",
"edge": "block/glass_pane_top"
"pane": "minecraft:block/glass",
"edge": "minecraft:block/glass_pane_top"
}
}
@@ -1,7 +1,7 @@
{
"parent": "block/template_glass_pane_side_alt",
"parent": "minecraft:block/template_glass_pane_side_alt",
"textures": {
"pane": "block/glass",
"edge": "block/glass_pane_top"
"pane": "minecraft:block/glass",
"edge": "minecraft:block/glass_pane_top"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_trapdoor_bottom",
"parent": "minecraft:block/template_trapdoor_bottom",
"textures": {
"texture": "block/oak_trapdoor"
"texture": "minecraft:block/oak_trapdoor"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_trapdoor_open",
"parent": "minecraft:block/template_trapdoor_open",
"textures": {
"texture": "block/oak_trapdoor"
"texture": "minecraft:block/oak_trapdoor"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_trapdoor_top",
"parent": "minecraft:block/template_trapdoor_top",
"textures": {
"texture": "block/oak_trapdoor"
"texture": "minecraft:block/oak_trapdoor"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"parent": "minecraft:block/cube_all",
"textures": {
"all": "block/stone"
"all": "minecraft:block/stone"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/template_torch",
"parent": "minecraft:block/template_torch",
"textures": {
"torch": "block/torch"
"torch": "minecraft:block/torch"
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/torch_wall",
"parent": "minecraft:block/template_torch_wall",
"textures": {
"torch": "block/torch"
"torch": "minecraft:block/torch"
}
}
@@ -1,14 +1,14 @@
{
"parent": "item/handheld_rod",
"parent": "minecraft:item/handheld_rod",
"textures": {
"layer0": "item/fishing_rod"
"layer0": "minecraft:item/fishing_rod"
},
"overrides": [
{
"predicate": {
"cast": 1.0
"minecraft:cast": 1.0
},
"model": "item/fishing_rod_cast"
"model": "minecraft:item/fishing_rod_cast"
}
]
}
@@ -1,6 +1,6 @@
{
"parent": "data_gen_test:item/fishing_rod",
"textures": {
"layer0": "item/fishing_rod_cast"
"layer0": "minecraft:item/fishing_rod_cast"
}
}
@@ -1,8 +1,8 @@
{
"parent": "block/block",
"parent": "minecraft:block/block",
"textures": {
"all": "block/dirt",
"top": "block/stone"
"all": "minecraft:block/dirt",
"top": "minecraft:block/stone"
},
"elements": [
{
@@ -1,6 +1,6 @@
{
"parent": "item/generated",
"parent": "minecraft:item/generated",
"textures": {
"layer0": "block/stone"
"layer0": "minecraft:block/stone"
}
}
@@ -1,7 +1,7 @@
{
"variants": {
"axis=x": {
"model": "data_gen_test:block/acacia_log",
"model": "data_gen_test:block/acacia_log_horizontal",
"x": 90,
"y": 90
},
@@ -9,7 +9,7 @@
"model": "data_gen_test:block/acacia_log"
},
"axis=z": {
"model": "data_gen_test:block/acacia_log",
"model": "data_gen_test:block/acacia_log_horizontal",
"x": 90
}
}
@@ -8,6 +8,26 @@
"model": "data_gen_test:block/cobblestone_wall_post"
}
},
{
"when": {
"east": "low"
},
"apply": {
"model": "data_gen_test:block/cobblestone_wall_side",
"y": 90,
"uvlock": true
}
},
{
"when": {
"east": "tall"
},
"apply": {
"model": "data_gen_test:block/cobblestone_wall_side_tall",
"y": 90,
"uvlock": true
}
},
{
"when": {
"north": "low"
@@ -17,6 +37,15 @@
"uvlock": true
}
},
{
"when": {
"north": "tall"
},
"apply": {
"model": "data_gen_test:block/cobblestone_wall_side_tall",
"uvlock": true
}
},
{
"when": {
"south": "low"
@@ -27,6 +56,16 @@
"uvlock": true
}
},
{
"when": {
"south": "tall"
},
"apply": {
"model": "data_gen_test:block/cobblestone_wall_side_tall",
"y": 180,
"uvlock": true
}
},
{
"when": {
"west": "low"
@@ -39,11 +78,11 @@
},
{
"when": {
"east": "low"
"west": "tall"
},
"apply": {
"model": "data_gen_test:block/cobblestone_wall_side",
"y": 90,
"model": "data_gen_test:block/cobblestone_wall_side_tall",
"y": 270,
"uvlock": true
}
}
@@ -1,6 +1,6 @@
{
"parent": "block/cube_all",
"parent": "minecraft:block/cube_all",
"textures": {
"all": "block/furnace_top"
"all": "minecraft:block/furnace_top"
}
}