sugar
This commit is contained in:
parent
e4db9a30b2
commit
eb156b9764
2 changed files with 20 additions and 0 deletions
Binary file not shown.
|
@ -50,6 +50,17 @@ public class Main extends JavaPlugin {
|
|||
|
||||
getServer().addRecipe(recipe);
|
||||
|
||||
key = new NamespacedKey(this, "SandCane");
|
||||
item = new ItemStack(Material.SUGAR_CANE,1);
|
||||
|
||||
recipe = new ShapedRecipe(key, item);
|
||||
recipe.shape("AAA", "ABA", "ACA");
|
||||
recipe.setIngredient('A', Material.SAND);
|
||||
recipe.setIngredient('B', Material.BONE_MEAL);
|
||||
recipe.setIngredient('C', new RecipeChoice.MaterialChoice(Material.COAL,Material.CHARCOAL));
|
||||
|
||||
getServer().addRecipe(recipe);
|
||||
|
||||
key = new NamespacedKey(this, "StoneStick");
|
||||
item = new ItemStack(Material.STICK,4);
|
||||
|
||||
|
@ -67,6 +78,15 @@ public class Main extends JavaPlugin {
|
|||
recipe.setIngredient('A', Material.BONE_MEAL);
|
||||
recipe.setIngredient('B', Material.DIRT);
|
||||
|
||||
|
||||
key = new NamespacedKey(this, "SandCactus");
|
||||
item = new ItemStack(Material.CACTUS);
|
||||
|
||||
recipe = new ShapedRecipe(key, item);
|
||||
recipe.shape("AAA", "ABA", "AAA");
|
||||
recipe.setIngredient('A', Material.BONE_MEAL);
|
||||
recipe.setIngredient('B', Material.SAND);
|
||||
|
||||
getServer().addRecipe(recipe);
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue