Skip to content

Commit d2d852b

Browse files
committed
while I can't fix Gemstone Lights being messy with Sodium, I can at least make them not spyholey
1 parent 3678697 commit d2d852b

File tree

2 files changed

+27
-118
lines changed

2 files changed

+27
-118
lines changed

src/main/java/de/dafuqs/spectrum/registries/SpectrumBlocks.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ private static Settings blackslag(BlockSoundGroup blockSoundGroup) {
343343

344344
// GEMSTONE LAMPS
345345
private static Settings gemstoneLamp(AbstractBlock block) {
346-
return FabricBlockSettings.copyOf(block).luminance(15);
346+
return FabricBlockSettings.copyOf(block).luminance(15).nonOpaque().solid();
347347
}
348348
public static final Block TOPAZ_BASALT_LAMP = new Block(gemstoneLamp(POLISHED_BASALT));
349349
public static final Block AMETHYST_BASALT_LAMP = new Block(gemstoneLamp(POLISHED_BASALT));
Original file line numberDiff line numberDiff line change
@@ -1,118 +1,27 @@
11
{
2-
"parent": "block/block",
3-
"textures": {
4-
"particle": "#top",
5-
"vertical": "#top",
6-
"side_outer": "#side",
7-
"inner": "#inside"
8-
},
9-
"elements": [
10-
{
11-
"from": [
12-
0,
13-
0,
14-
0
15-
],
16-
"to": [
17-
16,
18-
16,
19-
16
20-
],
21-
"faces": {
22-
"down": {
23-
"texture": "#vertical",
24-
"cullface": "down"
25-
},
26-
"up": {
27-
"texture": "#vertical",
28-
"cullface": "up"
29-
},
30-
"north": {
31-
"texture": "#side_outer",
32-
"cullface": "north"
33-
},
34-
"south": {
35-
"texture": "#side_outer",
36-
"cullface": "south"
37-
},
38-
"west": {
39-
"texture": "#side_outer",
40-
"cullface": "west"
41-
},
42-
"east": {
43-
"texture": "#side_outer",
44-
"cullface": "east"
45-
}
46-
}
47-
},
48-
{
49-
"from": [
50-
1,
51-
1,
52-
1
53-
],
54-
"to": [
55-
15,
56-
15,
57-
15
58-
],
59-
"faces": {
60-
"down": {
61-
"uv": [
62-
0,
63-
0,
64-
16,
65-
16
66-
],
67-
"texture": "#inner"
68-
},
69-
"up": {
70-
"uv": [
71-
0,
72-
0,
73-
16,
74-
16
75-
],
76-
"texture": "#inner"
77-
},
78-
"north": {
79-
"uv": [
80-
0,
81-
0,
82-
16,
83-
16
84-
],
85-
"texture": "#inner"
86-
},
87-
"south": {
88-
"uv": [
89-
0,
90-
0,
91-
16,
92-
16
93-
],
94-
"texture": "#inner"
95-
},
96-
"west": {
97-
"uv": [
98-
0,
99-
0,
100-
16,
101-
16
102-
],
103-
"texture": "#inner"
104-
},
105-
"east": {
106-
"uv": [
107-
0,
108-
0,
109-
16,
110-
16
111-
],
112-
"texture": "#inner"
113-
}
114-
}
115-
}
116-
]
117-
}
118-
2+
"parent": "minecraft:block/block",
3+
"elements": [
4+
{
5+
"from": [0, 0, 0],
6+
"to": [16, 16, 16],
7+
"faces": {
8+
"north": {"uv": [0, 0, 16, 16], "texture": "#side"},
9+
"east": {"uv": [0, 0, 16, 16], "texture": "#side"},
10+
"south": {"uv": [0, 0, 16, 16], "texture": "#side"},
11+
"west": {"uv": [0, 0, 16, 16], "texture": "#side"},
12+
"up": {"uv": [0, 0, 16, 16], "texture": "#top"},
13+
"down": {"uv": [0, 0, 16, 16], "texture": "#top"}
14+
}
15+
},
16+
{
17+
"from": [1, 1, 1],
18+
"to": [15, 15, 15],
19+
"faces": {
20+
"north": {"uv": [1, 1, 15, 15], "texture": "#inside"},
21+
"east": {"uv": [1, 1, 15, 15], "texture": "#inside"},
22+
"south": {"uv": [1, 1, 15, 15], "texture": "#inside"},
23+
"west": {"uv": [1, 1, 15, 15], "texture": "#inside"}
24+
}
25+
}
26+
]
27+
}

0 commit comments

Comments
 (0)