Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Fix remaining blocks (1.12)
Browse files Browse the repository at this point in the history
  • Loading branch information
the-pink-hacker committed Jan 27, 2022
1 parent c7f8594 commit 379d979
Show file tree
Hide file tree
Showing 14 changed files with 171 additions and 16 deletions.
76 changes: 76 additions & 0 deletions patches/1.12.json
Original file line number Diff line number Diff line change
Expand Up @@ -1722,6 +1722,82 @@
}
}
]
},
{
"file_selector": {
"type": "file",
"arguments": {
"files": [
"assets/minecraft/models/block/bricks.json",
"assets/minecraft/models/block/brick_slab.json",
"assets/minecraft/models/block/brick_slab_top.json",
"assets/minecraft/models/block/brick_stairs_north.json",
"assets/minecraft/models/block/brick_stairs_east.json",
"assets/minecraft/models/block/brick_stairs_south.json",
"assets/minecraft/models/block/brick_stairs_west.json",
"assets/minecraft/models/block/brick_stairs_inner_nw.json",
"assets/minecraft/models/block/brick_stairs_inner_ne.json",
"assets/minecraft/models/block/brick_stairs_inner_se.json",
"assets/minecraft/models/block/brick_stairs_inner_sw.json",
"assets/minecraft/models/block/brick_stairs_outer_nw.json",
"assets/minecraft/models/block/brick_stairs_outer_ne.json",
"assets/minecraft/models/block/brick_stairs_outer_se.json",
"assets/minecraft/models/block/brick_stairs_outer_sw.json",
"assets/minecraft/models/block/brick_stairs_top_north.json",
"assets/minecraft/models/block/brick_stairs_top_east.json",
"assets/minecraft/models/block/brick_stairs_top_south.json",
"assets/minecraft/models/block/brick_stairs_top_west.json",
"assets/minecraft/models/block/brick_stairs_top_inner_nw.json",
"assets/minecraft/models/block/brick_stairs_top_inner_ne.json",
"assets/minecraft/models/block/brick_stairs_top_inner_se.json",
"assets/minecraft/models/block/brick_stairs_top_inner_sw.json",
"assets/minecraft/models/block/brick_stairs_top_outer_nw.json",
"assets/minecraft/models/block/brick_stairs_top_outer_ne.json",
"assets/minecraft/models/block/brick_stairs_top_outer_se.json",
"assets/minecraft/models/block/brick_stairs_top_outer_sw.json"
]
}
},
"selector": {
"type": "path",
"arguments": {
"location": "textures/*"
}
},
"modifiers": [
{
"type": "set",
"arguments": {
"data": "blocks/brick"
}
}
]
},
{
"file_selector": {
"type": "file",
"arguments": {
"files": [
"assets/minecraft/models/block/oak_trapdoor_bottom.json",
"assets/minecraft/models/block/oak_trapdoor_open.json",
"assets/minecraft/models/block/oak_trapdoor_top.json"
]
}
},
"selector": {
"type": "path",
"arguments": {
"location": "textures/*"
}
},
"modifiers": [
{
"type": "set",
"arguments": {
"data": "blocks/trapdoor"
}
}
]
}
]
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"normal": {
"model": "bricks"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"variants": {
"normal": {
"model": "bricks"
}
}
}
10 changes: 10 additions & 0 deletions patches/replace/1.12/assets/minecraft/blockstates/brick_slab.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"variants": {
"half=bottom": {
"model": "brick_slab"
},
"half=top": {
"model": "brick_slab_top"
}
}
}
11 changes: 11 additions & 0 deletions patches/replace/1.12/assets/minecraft/blockstates/cake.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"variants": {
"bites=0": { "model": "cake" },
"bites=1": { "model": "cake_slice1" },
"bites=2": { "model": "cake_slice2" },
"bites=3": { "model": "cake_slice3" },
"bites=4": { "model": "cake_slice4" },
"bites=5": { "model": "cake_slice5" },
"bites=6": { "model": "cake_slice6" }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"variants": {
"axis=y": {
"model": "purpur_pillar"
},
"axis=z": {
"model": "purpur_pillar",
"x": 90
},
"axis=x": {
"model": "purpur_pillar",
"x": 90,
"y": 90
}
}
}
10 changes: 10 additions & 0 deletions patches/replace/1.12/assets/minecraft/blockstates/purpur_slab.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"variants": {
"half=bottom,variant=default": {
"model": "purpur_slab"
},
"half=top,variant=default": {
"model": "purpur_slab_top"
}
}
}
32 changes: 16 additions & 16 deletions patches/replace/1.12/assets/minecraft/blockstates/trapdoor.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"variants": {
"facing=north,half=bottom,open=false": { "model": "wooden_trapdoor_bottom" },
"facing=south,half=bottom,open=false": { "model": "wooden_trapdoor_bottom" },
"facing=east,half=bottom,open=false": { "model": "wooden_trapdoor_bottom" },
"facing=west,half=bottom,open=false": { "model": "wooden_trapdoor_bottom" },
"facing=north,half=top,open=false": { "model": "wooden_trapdoor_top" },
"facing=south,half=top,open=false": { "model": "wooden_trapdoor_top" },
"facing=east,half=top,open=false": { "model": "wooden_trapdoor_top" },
"facing=west,half=top,open=false": { "model": "wooden_trapdoor_top" },
"facing=north,half=bottom,open=true": { "model": "wooden_trapdoor_open" },
"facing=south,half=bottom,open=true": { "model": "wooden_trapdoor_open", "y": 180 },
"facing=east,half=bottom,open=true": { "model": "wooden_trapdoor_open", "y": 90 },
"facing=west,half=bottom,open=true": { "model": "wooden_trapdoor_open", "y": 270 },
"facing=north,half=top,open=true": { "model": "wooden_trapdoor_open" },
"facing=south,half=top,open=true": { "model": "wooden_trapdoor_open", "y": 180 },
"facing=east,half=top,open=true": { "model": "wooden_trapdoor_open", "y": 90 },
"facing=west,half=top,open=true": { "model": "wooden_trapdoor_open", "y": 270 }
"facing=north,half=bottom,open=false": { "model": "oak_trapdoor_bottom" },
"facing=south,half=bottom,open=false": { "model": "oak_trapdoor_bottom" },
"facing=east,half=bottom,open=false": { "model": "oak_trapdoor_bottom" },
"facing=west,half=bottom,open=false": { "model": "oak_trapdoor_bottom" },
"facing=north,half=top,open=false": { "model": "oak_trapdoor_top" },
"facing=south,half=top,open=false": { "model": "oak_trapdoor_top" },
"facing=east,half=top,open=false": { "model": "oak_trapdoor_top" },
"facing=west,half=top,open=false": { "model": "oak_trapdoor_top" },
"facing=north,half=bottom,open=true": { "model": "oak_trapdoor_open" },
"facing=south,half=bottom,open=true": { "model": "oak_trapdoor_open", "y": 180 },
"facing=east,half=bottom,open=true": { "model": "oak_trapdoor_open", "y": 90 },
"facing=west,half=bottom,open=true": { "model": "oak_trapdoor_open", "y": 270 },
"facing=north,half=top,open=true": { "model": "oak_trapdoor_open" },
"facing=south,half=top,open=true": { "model": "oak_trapdoor_open", "y": 180 },
"facing=east,half=top,open=true": { "model": "oak_trapdoor_open", "y": 90 },
"facing=west,half=top,open=true": { "model": "oak_trapdoor_open", "y": 270 }
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/bricks"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/brick_slab"
}
3 changes: 3 additions & 0 deletions patches/replace/1.12/assets/minecraft/models/item/cake.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/cake"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/purpur_pillar"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/purpur_slab"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"parent": "block/oak_trapdoor_bottom"
}

0 comments on commit 379d979

Please sign in to comment.