All Implemented Interfaces:
ItemAttribute, NotPlaceable, Placeable, RecipeDisplayItem

public class OreWasher extends MultiBlockMachine
The OreWasher is a special MultiBlockMachine which allows you to turn Sifted Ore into ore dusts.
Author:
TheBusyBiscuit, Sfiguz7
  • Constructor Details

  • Method Details

    • registerDefaultRecipes

      protected void registerDefaultRecipes(List<org.bukkit.inventory.ItemStack> recipes)
      Overrides:
      registerDefaultRecipes in class MultiBlockMachine
    • getDisplayRecipes

      @Nonnull public List<org.bukkit.inventory.ItemStack> getDisplayRecipes()
      Description copied from interface: RecipeDisplayItem
      This is the list of items to display alongside this SlimefunItem. Note that these items will be filled in from top to bottom first. So if you want it to express a recipe, add your input ItemStack and then your output ItemStack.
      Specified by:
      getDisplayRecipes in interface RecipeDisplayItem
      Overrides:
      getDisplayRecipes in class MultiBlockMachine
      Returns:
      The recipes to display in the SlimefunGuide
    • onInteract

      public void onInteract(org.bukkit.entity.Player p, org.bukkit.block.Block b)
      Specified by:
      onInteract in class MultiBlockMachine
    • getRandomDust

      @Nonnull public org.bukkit.inventory.ItemStack getRandomDust()
      This returns a random dust item from Slimefun.
      Returns:
      A randomly picked dust item