This commit is contained in:
biglyderv 2024-11-17 01:57:26 -05:00
parent 312146b84c
commit d6d70a80dc
4 changed files with 3 additions and 2 deletions

View file

@ -40,7 +40,8 @@ public class Handler implements Listener {
Material.COPPER_ORE,
Material.IRON_ORE,
Material.GOLD_ORE
Material.GOLD_ORE,
Material.ICE
};
b.setType(items[new Random().nextInt(items.length)]);

View file

@ -44,7 +44,7 @@ public class Main extends JavaPlugin {
recipe = new ShapedRecipe(key, item);
recipe.shape("AA ", "AB ", " ");
recipe.setIngredient('A', Material.COBBLESTONE);
recipe.setIngredient('B', Material.FLINT_AND_STEEL);
recipe.setIngredient('B', Material.FLINT);
getServer().addRecipe(recipe);