mirror of
https://github.com/SimplexDevelopment/Uncraftables.git
synced 2025-07-15 02:58:34 +00:00
Update.
This commit is contained in:
@ -0,0 +1,19 @@
|
||||
package io.github.paldiu.recipes;
|
||||
|
||||
import io.github.paldiu.Uncraftables;
|
||||
import org.bukkit.Material;
|
||||
import org.bukkit.inventory.ShapelessRecipe;
|
||||
|
||||
public class CryingObsidianRecipe extends Craftable {
|
||||
public CryingObsidianRecipe(Uncraftables plugin) {
|
||||
super(plugin);
|
||||
|
||||
if (!getConfigValues().cryingObsidianEnabled()) return;
|
||||
|
||||
ShapelessRecipe recipe = getUtil().shapeless(Material.CRYING_OBSIDIAN, "crying_obsidian_recipe");
|
||||
recipe.addIngredient(1, Material.OBSIDIAN);
|
||||
recipe.addIngredient(4, Material.GHAST_TEAR);
|
||||
recipe.getResult().setAmount(2);
|
||||
getPlugin().getServer().addRecipe(recipe);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user