All Implemented Interfaces:
ItemAttribute, NotHopperable, Placeable

public class AncientPedestal extends SimpleSlimefunItem<BlockDispenseHandler> implements NotHopperable
The AncientPedestal is a part of the AncientAltar. You can place any ItemStack onto the AncientPedestal to provide it to the altar as a crafting ingredient.
Author:
Redemption198, TheBusyBiscuit, JustAHuman
See Also:
  • Field Details

    • ITEM_PREFIX

      public static final String ITEM_PREFIX
  • Constructor Details

    • AncientPedestal

      @ParametersAreNonnullByDefault public AncientPedestal(ItemGroup itemGroup, SlimefunItemStack item, RecipeType recipeType, org.bukkit.inventory.ItemStack[] recipe, org.bukkit.inventory.ItemStack recipeOutput)
  • Method Details

    • getItemHandler

      @Nonnull public BlockDispenseHandler getItemHandler()
      Description copied from class: SimpleSlimefunItem
      This returns the ItemHandler that will be added to this SlimefunItem.
      Specified by:
      getItemHandler in class SimpleSlimefunItem<BlockDispenseHandler>
      Returns:
      The ItemHandler that should be added to this SlimefunItem
    • getPlacedItem

      @Nonnull public Optional<org.bukkit.entity.Item> getPlacedItem(@Nonnull org.bukkit.block.Block pedestal)
    • getArmorStand

      @Nullable public org.bukkit.entity.ArmorStand getArmorStand(@Nonnull org.bukkit.block.Block pedestal, boolean createIfNoneExists)
    • testItem

      public static boolean testItem(@Nullable org.bukkit.entity.Entity n)
    • getOriginalItemStack

      @Nonnull public org.bukkit.inventory.ItemStack getOriginalItemStack(@Nonnull org.bukkit.entity.Item item)
    • placeItem

      public void placeItem(@Nonnull org.bukkit.entity.Player p, @Nonnull org.bukkit.block.Block b)