Package de.steev.bm.changes.interaction
Class Item_Recipy_Override
java.lang.Object
Item_Recipy_Override
handles custom recipes
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionItem_Recipy_Override(main plugin, String Item, org.bukkit.Material result, int amount)Overrides Vanilla Recipes -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister_recipy(char[] ing, org.bukkit.Material[] mat, String[] rec)registers custom recipes
-
Field Details
-
plugin
main pluginplugin reference -
item
org.bukkit.NamespacedKey itemthe namepsace key -
rec_item
static org.bukkit.inventory.ShapedRecipe rec_itemthe recipe shape
-
-
Constructor Details
-
Item_Recipy_Override
Overrides Vanilla Recipes- Parameters:
plugin- plugin instanceItem- the resulting itemnameresult- resulting itemamount- the drop amount
-
-
Method Details
-
register_recipy
registers custom recipes- Parameters:
ing- ingredience charsmat- material referencerec- recipe shape
-