Skip to content

Commit 1980b4f

Browse files
committed
Merge remote-tracking branch 'origin/mc1.21.1/dev' into mc1.21.1/dev
2 parents 2533d69 + ef8e9cc commit 1980b4f

File tree

4 files changed

+12
-6
lines changed

4 files changed

+12
-6
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ ponder_version = 1.0.66
3434

3535
# Flywheel & Vanillin
3636
# https://maven.createmod.net/dev/engine-room/flywheel/
37-
flywheel_version = 1.0.5
37+
flywheel_version = 1.0.6-beta-37
3838
flywheel_version_range = [1.0.0,2.0)
3939
# https://maven.createmod.net/dev/engine-room/vanillin/
4040
vanillin_version = 1.0.0-beta-11

src/main/java/com/simibubi/create/content/contraptions/render/ContraptionVisual.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,8 @@ public BlockState getBlockState(BlockPos pos) {
9696
};
9797

9898
var model = new BlockModelBuilder(modelWorld, blocks.positions())
99-
.materialFunc((renderType, shaded) -> {
100-
Material material = ModelUtil.getMaterial(renderType, shaded);
99+
.materialFunc((renderType, shaded, ao) -> {
100+
Material material = ModelUtil.getMaterial(renderType, shaded, ao);
101101
if (material != null && material.cardinalLightingMode() == CardinalLightingMode.ENTITY) {
102102
return SimpleMaterial.builderOf(material)
103103
.cardinalLightingMode(CardinalLightingMode.CHUNK)

src/main/java/com/simibubi/create/foundation/render/SpecialModels.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@
1212

1313
public class SpecialModels {
1414
private static final RendererReloadCache<Key, Model> FLAT = new RendererReloadCache<>(it -> new BakedModelBuilder(it.partial.get())
15-
.materialFunc((renderType, shaded) -> {
16-
var material = ModelUtil.getMaterial(renderType, shaded);
15+
.materialFunc((renderType, shaded, ao) -> {
16+
var material = ModelUtil.getMaterial(renderType, shaded, ao);
1717
if (material == null) {
1818
return null;
1919
}

src/main/resources/assets/create/models/block/ladder.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"name": "hoop_right",
1111
"from": [2, 16, 14],
1212
"to": [4, 18, 18],
13+
"shade": false,
1314
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
1415
"faces": {
1516
"north": {"uv": [14, 4, 16, 6], "texture": "#0", "cullface": "up"},
@@ -21,6 +22,7 @@
2122
"name": "hoop_right_backface",
2223
"from": [2, 18, 14],
2324
"to": [4, 16, 18],
25+
"shade": false,
2426
"rotation": {"angle": 0, "axis": "y", "origin": [13, 19, 16]},
2527
"faces": {
2628
"north": {"uv": [16, 4, 14, 6], "rotation": 180, "texture": "#0", "cullface": "up"},
@@ -43,6 +45,7 @@
4345
"name": "ladder",
4446
"from": [2, 0, 14],
4547
"to": [14, 16, 16],
48+
"shade": false,
4649
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
4750
"faces": {
4851
"north": {"uv": [2, 0, 14, 16], "texture": "#1"}
@@ -63,6 +66,7 @@
6366
"name": "ladder_backface",
6467
"from": [2, 0, 16],
6568
"to": [14, 16, 14],
69+
"shade": false,
6670
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
6771
"faces": {
6872
"south": {"uv": [14, 0, 2, 16], "texture": "#1"}
@@ -72,6 +76,7 @@
7276
"name": "hoop_left",
7377
"from": [12, 16, 14],
7478
"to": [14, 18, 18],
79+
"shade": false,
7580
"rotation": {"angle": 0, "axis": "y", "origin": [8, 8, 8]},
7681
"faces": {
7782
"north": {"uv": [14, 4, 16, 6], "texture": "#0", "cullface": "up"},
@@ -83,6 +88,7 @@
8388
"name": "hoop_left_backface",
8489
"from": [12, 18, 14],
8590
"to": [14, 16, 18],
91+
"shade": false,
8692
"rotation": {"angle": 0, "axis": "y", "origin": [13, 19, 16]},
8793
"faces": {
8894
"north": {"uv": [16, 4, 14, 6], "rotation": 180, "texture": "#0", "cullface": "up"},
@@ -107,4 +113,4 @@
107113
"children": [4, 5, 6, 7]
108114
}
109115
]
110-
}
116+
}

0 commit comments

Comments
 (0)