All Implemented Interfaces:
ItemAttribute, NotPlaceable, Placeable

public class InfusedMagnet extends UnplaceableBlock
The InfusedMagnet is a SlimefunItem that allows a Player to automatically pick up items in a certain radius while holding shift and having an InfusedMagnet in their Inventory.
Author:
TheBusyBiscuit
  • Constructor Details

    • InfusedMagnet

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

    • getRadius

      public double getRadius()
      This returns the radius in which items are picked up
      Returns:
      The radius of the InfusedMagnet