Class Item_Recipy_Override

java.lang.Object
Item_Recipy_Override

public class Item_Recipy_Override extends Object
handles custom recipes
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) org.bukkit.NamespacedKey
    the namepsace key
    (package private) main
    plugin reference
    (package private) static org.bukkit.inventory.ShapedRecipe
    the recipe shape
  • Constructor Summary

    Constructors
    Constructor
    Description
    Item_Recipy_Override​(main plugin, String Item, org.bukkit.Material result, int amount)
    Overrides Vanilla Recipes
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    register_recipy​(char[] ing, org.bukkit.Material[] mat, String[] rec)
    registers custom recipes

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • plugin

      main plugin
      plugin reference
    • item

      org.bukkit.NamespacedKey item
      the namepsace key
    • rec_item

      static org.bukkit.inventory.ShapedRecipe rec_item
      the recipe shape
  • Constructor Details

    • Item_Recipy_Override

      public Item_Recipy_Override(main plugin, String Item, org.bukkit.Material result, int amount)
      Overrides Vanilla Recipes
      Parameters:
      plugin - plugin instance
      Item - the resulting itemname
      result - resulting item
      amount - the drop amount
  • Method Details

    • register_recipy

      public static void register_recipy(char[] ing, org.bukkit.Material[] mat, String[] rec)
      registers custom recipes
      Parameters:
      ing - ingredience chars
      mat - material reference
      rec - recipe shape