Class BlockConcretePowder


public class BlockConcretePowder extends BlockFalling
  • Constructor Details

    • BlockConcretePowder

      public BlockConcretePowder()
  • Method Details

    • onNearBlockChanged

      public void onNearBlockChanged(GlowBlock me, org.bukkit.block.BlockFace face, GlowBlock other, org.bukkit.Material oldType, byte oldData, org.bukkit.Material newType, byte newData)
      Description copied from class: BlockType
      Called when a neighboring block (within a 3x3x3 cube) has changed its type or data and physics checks should occur.
      Overrides:
      onNearBlockChanged in class BlockFalling
      Parameters:
      me - The block to perform physics checks for
      face - The BlockFace to the changed block, or null if unavailable
      other - The neighboring block that has changed
      oldType - The old type of the changed block
      oldData - The old data of the changed block
      newType - The new type of the changed block
      newData - The new data of the changed block
    • onBlockChanged

      public void onBlockChanged(GlowBlock block, org.bukkit.Material oldType, byte oldData, org.bukkit.Material newType, byte data)
      Description copied from class: BlockType
      Called when this block has just changed to some other type.

      This is called whenever GlowBlock.setTypeIdAndData(int, byte, boolean), GlowBlock.setType(org.bukkit.Material) or GlowBlock.setData(byte) is called with physics enabled, and might be called from plugins or other means of changing the block.

      Overrides:
      onBlockChanged in class BlockType
      Parameters:
      block - The block that was changed
      oldType - The old Material
      oldData - The old data
      newType - The new Material
      data - The new data