regionpostitemwatcher: rewrite region charge recipe to be cheaper

This commit is contained in:
Torrie Fischer 2022-09-18 12:31:41 +02:00
parent 221539001e
commit 669fab22cd

View File

@ -53,8 +53,8 @@ public class RegionPostItemWatcher implements Listener {
NamespacedKey chargeKey = new NamespacedKey(m_plugin, "region_post_charge"); NamespacedKey chargeKey = new NamespacedKey(m_plugin, "region_post_charge");
ShapedRecipe chargeRecipe = new ShapedRecipe(chargeKey, m_theChargeItem); ShapedRecipe chargeRecipe = new ShapedRecipe(chargeKey, m_theChargeItem);
chargeRecipe.shape("DDD", "DGD", "DDD"); chargeRecipe.shape("DDD", "DGD", "DDD");
chargeRecipe.setIngredient('D', Material.GLOWSTONE_DUST); chargeRecipe.setIngredient('D', Material.PURPUR_BLOCK);
chargeRecipe.setIngredient('G', Material.GHAST_TEAR); chargeRecipe.setIngredient('G', Material.QUARTZ);
NamespacedKey anchorKey = new NamespacedKey(m_plugin, "region_post_anchor"); NamespacedKey anchorKey = new NamespacedKey(m_plugin, "region_post_anchor");
ShapedRecipe anchorRecipe = new ShapedRecipe(anchorKey, m_theAnchor); ShapedRecipe anchorRecipe = new ShapedRecipe(anchorKey, m_theAnchor);
@ -67,7 +67,7 @@ public class RegionPostItemWatcher implements Listener {
// Uses four fewer charges, slightly cheaper. // Uses four fewer charges, slightly cheaper.
// TODO: Maybe we just want this to be glowstone instead of effectively 4 // TODO: Maybe we just want this to be glowstone instead of effectively 4
// ghast tears? // ghast tears?
compassRecipe.shape(" D ", "DGD", " D "); compassRecipe.shape(" D ", " G ", " ");
compassRecipe.setIngredient('D', new RecipeChoice.ExactChoice(m_theChargeItem)); compassRecipe.setIngredient('D', new RecipeChoice.ExactChoice(m_theChargeItem));
compassRecipe.setIngredient('G', Material.COMPASS); compassRecipe.setIngredient('G', Material.COMPASS);