Class RedstoneClutchBlock

All Implemented Interfaces:
MechanicalBlock

public class RedstoneClutchBlock extends GearBoxBlock
  • Constructor Details

    • RedstoneClutchBlock

      public RedstoneClutchBlock(int iBlockID)
  • Method Details

    • updateTick

      public void updateTick(World world, int i, int j, int k, Random rand)
      Description copied from class: Block
      Ticks the block if it's been scheduled // +++START EDIT+++ FCNOTE: Called on server only // ---END EDIT---
      Overrides:
      updateTick in class GearBoxBlock
    • dropComponentItemsOnBadBreak

      public boolean dropComponentItemsOnBadBreak(World world, int i, int j, int k, int iMetadata, float fChanceOfDrop)
      Description copied from class: Block
      Called by explosions and improper tool use. Should return true if the block processes its own drops through this method, false otherwise Note that the block may no longer be at the specified position when this is called
      Overrides:
      dropComponentItemsOnBadBreak in class GearBoxBlock
    • isIncineratedInCrucible

      public boolean isIncineratedInCrucible()
      Overrides:
      isIncineratedInCrucible in class Block
    • isCurrentStateValid

      protected boolean isCurrentStateValid(World world, int i, int j, int k)
      Overrides:
      isCurrentStateValid in class GearBoxBlock