Skip to content

Commit 7b89f08

Browse files
committed
Fix amethyst sconce generated blockmodel not matching the datagen code
1 parent e511891 commit 7b89f08

File tree

2 files changed

+33
-7
lines changed

2 files changed

+33
-7
lines changed

Common/src/generated/resources/assets/hexcasting/blockstates/amethyst_sconce.json

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,53 @@
11
{
22
"variants": {
3-
"facing=down": {
3+
"facing=down,waterlogged=false": {
44
"model": "hexcasting:block/amethyst_sconce",
55
"x": 180
66
},
7-
"facing=east": {
7+
"facing=down,waterlogged=true": {
8+
"model": "hexcasting:block/amethyst_sconce",
9+
"x": 180
10+
},
11+
"facing=east,waterlogged=false": {
12+
"model": "hexcasting:block/amethyst_sconce",
13+
"x": 90,
14+
"y": 90
15+
},
16+
"facing=east,waterlogged=true": {
817
"model": "hexcasting:block/amethyst_sconce",
918
"x": 90,
1019
"y": 90
1120
},
12-
"facing=north": {
21+
"facing=north,waterlogged=false": {
22+
"model": "hexcasting:block/amethyst_sconce",
23+
"x": 90
24+
},
25+
"facing=north,waterlogged=true": {
1326
"model": "hexcasting:block/amethyst_sconce",
1427
"x": 90
1528
},
16-
"facing=south": {
29+
"facing=south,waterlogged=false": {
1730
"model": "hexcasting:block/amethyst_sconce",
1831
"x": 90,
1932
"y": 180
2033
},
21-
"facing=up": {
34+
"facing=south,waterlogged=true": {
35+
"model": "hexcasting:block/amethyst_sconce",
36+
"x": 90,
37+
"y": 180
38+
},
39+
"facing=up,waterlogged=false": {
40+
"model": "hexcasting:block/amethyst_sconce"
41+
},
42+
"facing=up,waterlogged=true": {
2243
"model": "hexcasting:block/amethyst_sconce"
2344
},
24-
"facing=west": {
45+
"facing=west,waterlogged=false": {
46+
"model": "hexcasting:block/amethyst_sconce",
47+
"x": 90,
48+
"y": 270
49+
},
50+
"facing=west,waterlogged=true": {
2551
"model": "hexcasting:block/amethyst_sconce",
2652
"x": 90,
2753
"y": 270

Forge/src/main/java/at/petrak/hexcasting/forge/datagen/xplat/HexBlockStatesAndModels.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ protected void registerStatesAndModels() {
226226
pressurePlateBlock(HexBlocks.EDIFIED_PRESSURE_PLATE, planks1);
227227

228228
var sconceModel = models().getExistingFile(modLoc("amethyst_sconce"));
229-
simpleBlock(HexBlocks.SCONCE, sconceModel);
229+
directionalBlock(HexBlocks.SCONCE, sconceModel);
230230
simpleBlockItem(HexBlocks.SCONCE, sconceModel);
231231

232232
var conjuredModel = models().getBuilder("conjured").texture("particle", mcLoc("block/amethyst_block"))

0 commit comments

Comments
 (0)