Class GlowDropper

All Implemented Interfaces:
com.destroystokyo.paper.loottable.LootableBlockInventory, com.destroystokyo.paper.loottable.LootableInventory, org.bukkit.block.BlockState, org.bukkit.block.Container, org.bukkit.block.Dispenser, org.bukkit.block.Dropper, org.bukkit.block.Lockable, org.bukkit.block.TileState, org.bukkit.inventory.BlockInventoryHolder, org.bukkit.inventory.InventoryHolder, org.bukkit.loot.Lootable, org.bukkit.metadata.Metadatable, org.bukkit.Nameable, org.bukkit.persistence.PersistentDataHolder, org.bukkit.projectiles.BlockProjectileSource, org.bukkit.projectiles.ProjectileSource

public class GlowDropper extends GlowDispenser implements org.bukkit.block.Dropper
  • Constructor Details

    • GlowDropper

      public GlowDropper(GlowBlock block)
  • Method Details

    • drop

      public void drop()
      Specified by:
      drop in interface org.bukkit.block.Dropper
    • getDispenseBehavior

      protected DispenseBehavior getDispenseBehavior(org.bukkit.Material itemType)
      Description copied from class: GlowDispenser
      Returns the dispense behavior that will dispense this type of item.
      Overrides:
      getDispenseBehavior in class GlowDispenser
      Parameters:
      itemType - the item type to dispense
      Returns:
      the dispense behavior