Class BlockIce


public class BlockIce extends BlockType
  • Constructor Details

    • BlockIce

      public BlockIce()
  • Method Details

    • getDrops

      @NotNull public @NotNull Collection<org.bukkit.inventory.ItemStack> getDrops(GlowBlock me, org.bukkit.inventory.ItemStack tool)
      Description copied from class: BlockType
      Get the items that will be dropped by digging the block.
      Overrides:
      getDrops in class BlockType
      Parameters:
      me - The block being dug.
      tool - The tool used or null if fists or no tool was used.
      Returns:
      The drops that should be returned.
    • canTickRandomly

      public boolean canTickRandomly()
      Description copied from class: BlockType
      Called to check if this block can perform random tick updates.
      Overrides:
      canTickRandomly in class BlockType
      Returns:
      Whether this block updates on tick.
    • updateBlock

      public void updateBlock(GlowBlock block)
      Description copied from class: BlockType
      Called when this block needs to be updated.
      Overrides:
      updateBlock in class BlockType
      Parameters:
      block - The block that needs an update