Skip to content

Commit bc586ac

Browse files
committed
feat: Change shroomlight recipe to glowstone surrounded by mushrooms
1 parent 17d6e1d commit bc586ac

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/main/java/de/kiridevs/ksmpplugin/recipes/crafting/ShroomlightRecipe.java

+8-6
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,11 @@
1313
public class ShroomlightRecipe {
1414
private final KiriSmpPlugin plugin;
1515

16-
private static final MaterialChoice SHROOM_BLOCKS = new MaterialChoice(
17-
Material.BROWN_MUSHROOM_BLOCK,
18-
Material.RED_MUSHROOM_BLOCK
16+
private static final MaterialChoice SHROOM_CHOICE = new MaterialChoice(
17+
Material.BROWN_MUSHROOM,
18+
Material.CRIMSON_FUNGUS,
19+
Material.RED_MUSHROOM,
20+
Material.WARPED_FUNGUS
1921
);
2022

2123
public ShroomlightRecipe(KiriSmpPlugin plugin) {
@@ -29,9 +31,9 @@ public void register(ConfigurationSection config) {
2931
ItemStack result = new ItemStack(Material.SHROOMLIGHT);
3032

3133
ShapedRecipe recipe = new ShapedRecipe(key, result)
32-
.shape(" g ", "gsg", " g ")
33-
.setIngredient('g', Material.GLOWSTONE_DUST)
34-
.setIngredient('s', ShroomlightRecipe.SHROOM_BLOCKS);
34+
.shape(" s ", "sgs", " s ")
35+
.setIngredient('s', ShroomlightRecipe.SHROOM_CHOICE)
36+
.setIngredient('g', Material.GLOWSTONE_DUST);
3537

3638
this.plugin.log.info("recipes: ShroomlightRecipe: Registering Custom Recipe");
3739
Bukkit.addRecipe(recipe);

0 commit comments

Comments
 (0)