Skip to content

Commit 4c7267a

Browse files
committed
Add support for pottet cornflowers, lilies of the valley and wither roses
1 parent 54bfb42 commit 4c7267a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chunky/src/java/se/llbit/chunky/model/FlowerPotModel.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -200,13 +200,13 @@ public static boolean intersect(Ray ray, Scene scene, Kind kind) {
200200
// TODO(1.14): upcoming block change
201201
break;
202202
case CORNFLOWER:
203-
// TODO(1.14): upcoming block change
203+
hit |= intersect(flowerSmall, ray, Texture.cornflower);
204204
break;
205205
case LILY_OF_THE_VALLEY:
206-
// TODO(1.14): upcoming block change
206+
hit |= intersect(flowerSmall, ray, Texture.lilyOfTheValley);
207207
break;
208208
case WITHER_ROSE:
209-
// TODO(1.14): upcoming block change
209+
hit |= intersect(flowerSmall, ray, Texture.witherRose);
210210
break;
211211
}
212212
if (hit) {

0 commit comments

Comments
 (0)