Rebalancing

This commit is contained in:
TheTechRobo 2022-04-10 18:35:07 -04:00
parent bcae6883b0
commit 8e504744ea
1 changed files with 6 additions and 12 deletions

View File

@ -9,7 +9,8 @@ import org.bukkit.plugin.java.JavaPlugin;
public class LifestealPlugin extends JavaPlugin {
private DeathListener dl;
public void addRecipes() {
@SuppressWarnings("deprecation")
public void addRecipes() {
LifeExtractor lifextractor = new LifeExtractor();
lifextractor.create();
ItemStack item = lifextractor.item;
@ -50,24 +51,17 @@ public class LifestealPlugin extends JavaPlugin {
item = this.dl.rethead(Bukkit.getOfflinePlayer("D"));
key = new NamespacedKey(this, "headRecipe0");
recipe = new ShapedRecipe(key, item);
recipe.shape("did", " ", " ");
recipe.setIngredient('d', Material.DIAMOND);
recipe.setIngredient('i', Material.IRON_INGOT);
Bukkit.addRecipe(recipe);
item = this.dl.rethead(Bukkit.getOfflinePlayer("D"));
key = new NamespacedKey(this, "headRecipe1");
recipe = new ShapedRecipe(key, item);
recipe.shape("WWW", "WsW", "WWW");
recipe.setIngredient('W', Material.STICK);
recipe.shape("sis", " ", " ");
recipe.setIngredient('s', Material.NETHERITE_SCRAP);
recipe.setIngredient('i', Material.IRON_INGOT);
Bukkit.addRecipe(recipe);
item = this.dl.rethead(Bukkit.getOfflinePlayer("D"));
key = new NamespacedKey(this, "headRecipe2");
recipe = new ShapedRecipe(key, item);
recipe.shape("RR ", " ", " ");
recipe.shape("RRR", "RDR", "RRR");
recipe.setIngredient('R', Material.REDSTONE_BLOCK);
recipe.setIngredient('D', Material.DIAMOND);
Bukkit.addRecipe(recipe);
}
@Override