mirror of
https://github.com/TeamMidnightDust/BetterBeds.git
synced 2025-12-16 21:45:09 +01:00
Optimized model cullfaces and fix texture UVs
This commit is contained in:
@@ -1,9 +1,8 @@
|
||||
{
|
||||
"credit": "made by Motschen",
|
||||
"texture_size": [64, 64],
|
||||
"credit": "Made with Blockbench",
|
||||
"ambientocclusion": false,
|
||||
"texture_size": [64, 64],
|
||||
"textures": {
|
||||
"0": "entity/bed/lime",
|
||||
"particle": "block/oak_planks"
|
||||
},
|
||||
"elements": [
|
||||
@@ -12,11 +11,11 @@
|
||||
"to": [3, 3, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 21]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.5, 5.25, 13.25, 6], "texture": "#0"},
|
||||
"east": {"uv": [14.75, 5.25, 15.5, 6], "texture": "#0"},
|
||||
"south": {"uv": [14, 5.25, 14.75, 6], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 5.25, 14, 6], "texture": "#0"},
|
||||
"down": {"uv": [14, 4.5, 14.75, 5.25], "texture": "#0"}
|
||||
"north": {"uv": [14.75, 0.75, 15.5, 1.5], "texture": "#bed"},
|
||||
"east": {"uv": [14, 0.75, 14.75, 1.5], "texture": "#bed"},
|
||||
"south": {"uv": [13.25, 0.75, 14, 1.5], "texture": "#bed", "cullface": "south"},
|
||||
"west": {"uv": [12.5, 0.75, 13.25, 1.5], "texture": "#bed", "cullface": "west"},
|
||||
"down": {"uv": [14, 0, 14.75, 0.75], "texture": "#bed", "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -24,11 +23,11 @@
|
||||
"to": [16, 3, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [21, 8, 21]},
|
||||
"faces": {
|
||||
"north": {"uv": [12.5, 2.25, 13.25, 3], "texture": "#0"},
|
||||
"east": {"uv": [14.75, 2.25, 15.5, 3], "texture": "#0"},
|
||||
"south": {"uv": [14, 2.25, 14.75, 3], "texture": "#0"},
|
||||
"west": {"uv": [13.25, 2.25, 14, 3], "texture": "#0"},
|
||||
"down": {"uv": [14, 1.5, 14.75, 2.25], "texture": "#0"}
|
||||
"north": {"uv": [14, 2.25, 14.75, 3], "texture": "#bed"},
|
||||
"east": {"uv": [13.25, 2.25, 14, 3], "texture": "#bed", "cullface": "east"},
|
||||
"south": {"uv": [12.5, 2.25, 13.25, 3], "texture": "#bed", "cullface": "south"},
|
||||
"west": {"uv": [14.75, 2.25, 15.5, 3], "texture": "#bed"},
|
||||
"down": {"uv": [14, 1.5, 14.75, 2.25], "texture": "#bed", "cullface": "down"}
|
||||
}
|
||||
},
|
||||
{
|
||||
@@ -36,11 +35,11 @@
|
||||
"to": [16, 9, 16],
|
||||
"rotation": {"angle": 0, "axis": "y", "origin": [8, 11, 8]},
|
||||
"faces": {
|
||||
"east": {"uv": [0, 1.5, 1.5, 5.5], "rotation": 270, "texture": "#0"},
|
||||
"south": {"uv": [1.5, 0, 5.5, 1.5], "rotation": 180, "texture": "#0"},
|
||||
"west": {"uv": [5.5, 1.5, 7, 5.5], "rotation": 90, "texture": "#0"},
|
||||
"up": {"uv": [1.5, 1.5, 5.5, 5.5], "rotation": 180, "texture": "#0"},
|
||||
"down": {"uv": [7, 7, 11, 11], "texture": "#0"}
|
||||
"east": {"uv": [0, 1.5, 1.5, 5.5], "rotation": 270, "texture": "#bed", "cullface": "east"},
|
||||
"south": {"uv": [1.5, 0, 5.5, 1.5], "rotation": 180, "texture": "#bed", "cullface": "south"},
|
||||
"west": {"uv": [5.5, 1.5, 7, 5.5], "rotation": 90, "texture": "#bed", "cullface": "west"},
|
||||
"up": {"uv": [1.5, 1.5, 5.5, 5.5], "rotation": 180, "texture": "#bed"},
|
||||
"down": {"uv": [7, 1.5, 11, 5.5], "texture": "#bed"}
|
||||
}
|
||||
}
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user