-
Notifications
You must be signed in to change notification settings - Fork 822
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add additional optimized block models
This covers the following additional blocks: - Cauldrons - Brewing Stands - Bells Co-authored-by: JellySquid <[email protected]>
- Loading branch information
1 parent
42ad933
commit cff7ceb
Showing
6 changed files
with
977 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
common/src/main/resources/assets/minecraft/models/block/bell_floor.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
{ | ||
"textures": { | ||
"bar": "block/dark_oak_planks", | ||
"post": "block/stone", | ||
"particle": "block/bell_bottom" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [ 2, 13, 7 ], | ||
"to": [ 14, 15, 9 ], | ||
"faces": { | ||
"north": { "uv": [ 2, 2, 14, 4 ], "texture": "#bar" }, | ||
"south": { "uv": [ 2, 3, 14, 5 ], "texture": "#bar" }, | ||
"up": { "uv": [ 2, 3, 14, 5 ], "texture": "#bar" }, | ||
"down": { "uv": [ 2, 3, 14, 5 ], "texture": "#bar" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 0, 6 ], | ||
"to": [ 16, 16, 10 ], | ||
"faces": { | ||
"north": { "uv": [ 0, 1, 2, 16 ], "texture": "#post" }, | ||
"east": { "uv": [ 0, 1, 4, 16 ], "texture": "#post", "cullface": "east" }, | ||
"south": { "uv": [ 0, 1, 2, 16 ], "texture": "#post" }, | ||
"west": { "uv": [ 0, 1, 4, 16 ], "texture": "#post" }, | ||
"up": { "uv": [ 0, 0, 2, 4 ], "texture": "#post", "cullface": "up" }, | ||
"down": { "uv": [ 0, 0, 2, 4 ], "texture": "#post", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 6 ], | ||
"to": [ 2, 16, 10 ], | ||
"faces": { | ||
"north": { "uv": [ 0, 1, 2, 16 ], "texture": "#post" }, | ||
"east": { "uv": [ 0, 1, 4, 16 ], "texture": "#post" }, | ||
"south": { "uv": [ 0, 1, 2, 16 ], "texture": "#post" }, | ||
"west": { "uv": [ 0, 1, 4, 16 ], "texture": "#post", "cullface": "west" }, | ||
"up": { "uv": [ 0, 0, 2, 4 ], "texture": "#post", "cullface": "up" }, | ||
"down": { "uv": [ 0, 0, 2, 4 ], "texture": "#post", "cullface": "down" } | ||
} | ||
} | ||
] | ||
} |
57 changes: 57 additions & 0 deletions
57
common/src/main/resources/assets/minecraft/models/block/brewing_stand.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
{ | ||
"textures": { | ||
"base": "block/brewing_stand_base", | ||
"particle": "block/brewing_stand", | ||
"stand": "block/brewing_stand" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [ 7, 0, 7 ], | ||
"to": [ 9, 14, 9 ], | ||
"faces": { | ||
"north": { "uv": [ 7, 2, 9, 16 ], "texture": "#stand" }, | ||
"east": { "uv": [ 7, 2, 9, 16 ], "texture": "#stand" }, | ||
"south": { "uv": [ 7, 2, 9, 16 ], "texture": "#stand" }, | ||
"west": { "uv": [ 7, 2, 9, 16 ], "texture": "#stand" }, | ||
"up": { "uv": [ 7, 7, 9, 9 ], "texture": "#stand" }, | ||
"down": { "uv": [ 7, 7, 9, 9 ], "texture": "#stand", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 9, 0, 5 ], | ||
"to": [ 15, 2, 11 ], | ||
"faces": { | ||
"north": { "uv": [ 9, 14, 15, 16 ], "texture": "#base" }, | ||
"east": { "uv": [ 5, 14, 11, 16 ], "texture": "#base" }, | ||
"south": { "uv": [ 9, 14, 15, 16 ], "texture": "#base" }, | ||
"west": { "uv": [ 5, 14, 11, 16 ], "texture": "#base" }, | ||
"up": { "uv": [ 9, 5, 15, 11 ], "texture": "#base" }, | ||
"down": { "uv": [ 9, 5, 15, 11 ], "texture": "#base", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 1, 0, 1 ], | ||
"to": [ 7, 2, 7 ], | ||
"faces": { | ||
"north": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"east": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"south": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"west": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"up": { "uv": [ 1, 1, 7, 7 ], "texture": "#base" }, | ||
"down": { "uv": [ 1, 1, 7, 7 ], "texture": "#base", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 1, 0, 9 ], | ||
"to": [ 7, 2, 15 ], | ||
"faces": { | ||
"north": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"east": { "uv": [ 9, 14, 15, 16 ], "texture": "#base" }, | ||
"south": { "uv": [ 1, 14, 7, 16 ], "texture": "#base" }, | ||
"west": { "uv": [ 9, 14, 15, 16 ], "texture": "#base" }, | ||
"up": { "uv": [ 1, 9, 7, 15 ], "texture": "#base" }, | ||
"down": { "uv": [ 1, 9, 7, 15 ], "texture": "#base", "cullface": "down" } | ||
} | ||
} | ||
] | ||
} |
214 changes: 214 additions & 0 deletions
214
common/src/main/resources/assets/minecraft/models/block/cauldron.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,214 @@ | ||
{ | ||
"ambientocclusion": false, | ||
"textures": { | ||
"rim": "block/cauldron_top", | ||
"particle": "block/cauldron_side", | ||
"outside": "block/cauldron_side", | ||
"inside": "block/cauldron_inner", | ||
"feet": "block/cauldron_bottom" | ||
}, | ||
"elements": [ | ||
{ | ||
"from": [ 0, 3, 0 ], | ||
"to": [ 16, 16, 16 ], | ||
"faces": { | ||
"north": { "uv": [ 0, 0, 16, 13 ], "texture": "#outside", "cullface": "north" }, | ||
"east": { "uv": [ 0, 0, 16, 13 ], "texture": "#outside", "cullface": "east" }, | ||
"south": { "uv": [ 0, 0, 16, 13 ], "texture": "#outside", "cullface": "south" }, | ||
"west": { "uv": [ 0, 0, 16, 13 ], "texture": "#outside", "cullface": "west" }, | ||
"down": { "uv": [ 0, 0, 16, 16 ], "texture": "#inside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 16, 0 ], | ||
"to": [ 14, 16, 2 ], | ||
"faces": { | ||
"up": { "uv": [ 0, 0, 14, 2 ], "texture": "#rim", "cullface": "up" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 16, 0 ], | ||
"to": [ 16, 16, 14 ], | ||
"faces": { | ||
"up": { "uv": [ 14, 0, 16, 14 ], "texture": "#rim", "cullface": "up" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 16, 14 ], | ||
"to": [ 16, 16, 16 ], | ||
"faces": { | ||
"up": { "uv": [ 2, 14, 16, 16 ], "texture": "#rim", "cullface": "up" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 16, 2 ], | ||
"to": [ 2, 16, 16 ], | ||
"faces": { | ||
"up": { "uv": [ 0, 2, 2, 16 ], "texture": "#rim", "cullface": "up" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 4, 2 ], | ||
"to": [ 14, 16, 2 ], | ||
"faces": { | ||
"south": { "uv": [ 2, 0, 14, 12 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 4, 2 ], | ||
"to": [ 14, 16, 14 ], | ||
"faces": { | ||
"west": { "uv": [ 2, 0, 14, 12 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 4, 14 ], | ||
"to": [ 14, 16, 14 ], | ||
"faces": { | ||
"north": { "uv": [ 2, 0, 14, 12 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 4, 2 ], | ||
"to": [ 2, 16, 14 ], | ||
"faces": { | ||
"east": { "uv": [ 2, 0, 14, 12 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 4, 2 ], | ||
"to": [ 14, 4, 14 ], | ||
"faces": { | ||
"up": { "uv": [ 2, 2, 14, 14 ], "texture": "#inside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 0 ], | ||
"to": [ 4, 3, 4 ], | ||
"faces": { | ||
"north": { "uv": [ 12, 13, 16, 16 ], "texture": "#outside", "cullface": "north" }, | ||
"west": { "uv": [ 0, 13, 4, 16 ], "texture": "#outside", "cullface": "west" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 12 ], | ||
"to": [ 4, 3, 16 ], | ||
"faces": { | ||
"south": { "uv": [ 0, 13, 4, 16 ], "texture": "#outside", "cullface": "south" }, | ||
"west": { "uv": [ 12, 13, 16, 16 ], "texture": "#outside", "cullface": "west" } | ||
} | ||
}, | ||
{ | ||
"from": [ 12, 0, 12 ], | ||
"to": [ 16, 3, 16 ], | ||
"faces": { | ||
"east": { "uv": [ 0, 13, 4, 16 ], "texture": "#outside", "cullface": "east" }, | ||
"south": { "uv": [ 12, 13, 16, 16 ], "texture": "#outside", "cullface": "south" } | ||
} | ||
}, | ||
{ | ||
"from": [ 12, 0, 0 ], | ||
"to": [ 16, 3, 4 ], | ||
"faces": { | ||
"north": { "uv": [ 0, 13, 4, 16 ], "texture": "#outside", "cullface": "north" }, | ||
"east": { "uv": [ 12, 13, 16, 16 ], "texture": "#outside", "cullface": "east" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 0, 2 ], | ||
"to": [ 16, 3, 4 ], | ||
"faces": { | ||
"south": { "uv": [ 14, 13, 16, 16 ], "texture": "#outside" }, | ||
"west": { "uv": [ 2, 13, 4, 16 ], "texture": "#outside" }, | ||
"down": { "uv": [ 14, 12, 16, 14 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 0, 0 ], | ||
"to": [ 4, 3, 2 ], | ||
"faces": { | ||
"east": { "uv": [ 14, 13, 16, 16 ], "texture": "#outside" }, | ||
"south": { "uv": [ 2, 13, 4, 16 ], "texture": "#outside" }, | ||
"down": { "uv": [ 2, 14, 4, 16 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 12 ], | ||
"to": [ 2, 3, 14 ], | ||
"faces": { | ||
"north": { "uv": [ 14, 13, 16, 16 ], "texture": "#outside" }, | ||
"east": { "uv": [ 2, 13, 4, 16 ], "texture": "#outside" }, | ||
"down": { "uv": [ 0, 2, 2, 4 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 12, 0, 14 ], | ||
"to": [ 14, 3, 16 ], | ||
"faces": { | ||
"north": { "uv": [ 2, 13, 4, 16 ], "texture": "#outside" }, | ||
"west": { "uv": [ 14, 13, 16, 16 ], "texture": "#outside" }, | ||
"down": { "uv": [ 12, 0, 14, 2 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 12, 0, 0 ], | ||
"to": [ 16, 0, 2 ], | ||
"faces": { | ||
"down": { "uv": [ 12, 14, 16, 16 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 0 ], | ||
"to": [ 2, 0, 4 ], | ||
"faces": { | ||
"down": { "uv": [ 0, 12, 2, 16 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 14 ], | ||
"to": [ 4, 0, 16 ], | ||
"faces": { | ||
"down": { "uv": [ 0, 0, 4, 2 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 0, 12 ], | ||
"to": [ 16, 0, 16 ], | ||
"faces": { | ||
"down": { "uv": [ 14, 0, 16, 4 ], "texture": "#feet", "cullface": "down" } | ||
} | ||
}, | ||
{ | ||
"from": [ 12, 0, 0 ], | ||
"to": [ 14, 3, 2 ], | ||
"faces": { | ||
"south": { "uv": [ 12, 13, 14, 16 ], "texture": "#outside" }, | ||
"west": { "uv": [ 0, 13, 2, 16 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 0, 0, 2 ], | ||
"to": [ 2, 3, 4 ], | ||
"faces": { | ||
"east": { "uv": [ 12, 13, 14, 16 ], "texture": "#outside" }, | ||
"south": { "uv": [ 0, 13, 2, 16 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 2, 0, 14 ], | ||
"to": [ 4, 3, 16 ], | ||
"faces": { | ||
"north": { "uv": [ 12, 13, 14, 16 ], "texture": "#outside" }, | ||
"east": { "uv": [ 0, 13, 2, 16 ], "texture": "#outside" } | ||
} | ||
}, | ||
{ | ||
"from": [ 14, 0, 12 ], | ||
"to": [ 16, 3, 14 ], | ||
"faces": { | ||
"north": { "uv": [ 0, 13, 2, 16 ], "texture": "#outside" }, | ||
"west": { "uv": [ 12, 13, 14, 16 ], "texture": "#outside" } | ||
} | ||
} | ||
] | ||
} |
Oops, something went wrong.