13
13
public class ShroomlightRecipe {
14
14
private final KiriSmpPlugin plugin ;
15
15
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
19
21
);
20
22
21
23
public ShroomlightRecipe (KiriSmpPlugin plugin ) {
@@ -29,9 +31,9 @@ public void register(ConfigurationSection config) {
29
31
ItemStack result = new ItemStack (Material .SHROOMLIGHT );
30
32
31
33
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 );
35
37
36
38
this .plugin .log .info ("recipes: ShroomlightRecipe: Registering Custom Recipe" );
37
39
Bukkit .addRecipe (recipe );
0 commit comments