items: cheaper recipe, plus custom model data for future resource pack work
This commit is contained in:
parent
61f4dc90dc
commit
ed0c0d7788
@ -60,13 +60,11 @@ public class RegionPostItemWatcher implements Listener {
|
||||
ShapedRecipe anchorRecipe = new ShapedRecipe(anchorKey, m_theAnchor);
|
||||
anchorRecipe.shape("DDD", "DGD", "DDD");
|
||||
anchorRecipe.setIngredient('D', new RecipeChoice.ExactChoice(m_theChargeItem));
|
||||
anchorRecipe.setIngredient('G', Material.LANTERN);
|
||||
anchorRecipe.setIngredient('G', Material.SOUL_LANTERN);
|
||||
|
||||
NamespacedKey compassKey = new NamespacedKey(m_plugin, "region_post_compass");
|
||||
ShapedRecipe compassRecipe = new ShapedRecipe(compassKey, m_theCompass);
|
||||
// Uses four fewer charges, slightly cheaper.
|
||||
// TODO: Maybe we just want this to be glowstone instead of effectively 4
|
||||
// ghast tears?
|
||||
compassRecipe.shape(" D ", " G ", " ");
|
||||
compassRecipe.setIngredient('D', new RecipeChoice.ExactChoice(m_theChargeItem));
|
||||
compassRecipe.setIngredient('G', Material.COMPASS);
|
||||
@ -96,6 +94,7 @@ public class RegionPostItemWatcher implements Listener {
|
||||
meta.setLore(lore);
|
||||
meta.addEnchant(Enchantment.SOUL_SPEED, 1, true);
|
||||
meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);
|
||||
meta.setCustomModelData(93199);
|
||||
stack.setItemMeta(meta);
|
||||
return stack;
|
||||
}
|
||||
@ -109,6 +108,7 @@ public class RegionPostItemWatcher implements Listener {
|
||||
meta.addItemFlags(ItemFlag.HIDE_ENCHANTS);
|
||||
meta.addEnchant(Enchantment.SOUL_SPEED, 1, true);
|
||||
meta.setDisplayName("Region Post Charge");
|
||||
meta.setCustomModelData(93197);
|
||||
stack.setItemMeta(meta);
|
||||
return stack;
|
||||
}
|
||||
@ -122,6 +122,7 @@ public class RegionPostItemWatcher implements Listener {
|
||||
meta.addEnchant(Enchantment.SOUL_SPEED, 1, true);
|
||||
meta.setLore(lore);
|
||||
meta.setDisplayName("Region Post Anchor");
|
||||
meta.setCustomModelData(93198);
|
||||
stack.setItemMeta(meta);
|
||||
return stack;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user