BlockBreaker

The blockbreaker will only break the block its facing at, so using a multi-facing block is a good idea, to make it possible to break blocks from different directions.

Breaks the block it looking at. If it does not have enough energy, will the material-blocks-duration be extended. It is possible to configure multiple material-blocks-duration , for different materials.

BlockBreaker can be useful for automating cobblestone generators, in skyblock etc. The example below shows how you can make three different blockbreaker components. This can, for example, be used to allow the player to unlock new blockbreakers during the game that get better and better.

iron-blockbreaker: # The component id.
  max-energy-consumption: 30
  material-blocks-duration: # List of blocks with duration in ticks.
    IRON_ORE: 3000
    IRON_BLOCK: 5500
    DEEPSLATE_IRON_ORE: 10000
  info:
    title: "<red> Iron Breaker"
    display-energy: true
    
gold-blockbreaker: # The component id.
  max-energy-consumption: 50
  material-blocks-duration: # List of blocks with duration in ticks.
    GOLD_ORE: 4500
    GOLD_BLOCK: 8000
    DEEPSLATE_GOLD_ORE: 15000
  info:
    title: "<red> Gold Breaker"
    display-energy: true
    
diamond-blockbreaker: # The component id.
  max-energy-consumption: 80
  material-blocks-duration: # List of blocks with duration in ticks.
    DIAMOND_ORE: 7000
    DIAMOND_BLOCK: 12000
    DEEPSLATE_DIAMOND_ORE: 22000
  info:
    title: "<red> Diamond breaker"
    display-energy: true

Last updated