Class ItemSeeds

java.lang.Object
net.glowstone.block.itemtype.ItemType
net.glowstone.block.itemtype.ItemSeeds

public class ItemSeeds extends ItemType
  • Constructor Details

    • ItemSeeds

      public ItemSeeds(org.bukkit.Material cropsType, org.bukkit.Material soilType)
  • Method Details

    • rightClickBlock

      public void rightClickBlock(GlowPlayer player, GlowBlock target, org.bukkit.block.BlockFace face, org.bukkit.inventory.ItemStack holding, org.bukkit.util.Vector clickedLoc, org.bukkit.inventory.EquipmentSlot hand)
      Description copied from class: ItemType
      Called when a player right-clicks on a block while holding this item.
      Overrides:
      rightClickBlock in class ItemType
      Parameters:
      player - The player
      target - The block the player right-clicked
      face - The face on which the click occurred
      holding - The ItemStack the player was holding
      clickedLoc - The coordinates at which the click occurred
      hand - The hand slot of this item