CCBG
  • Custom Cobblestone and Basalt Generator
  • Download
  • Discord
  • installations
    • Enabling Beta APIs
    • Configuration File
    • Installing the pack
  • Configuration
    • Generator
    • Generator Event
    • Tools
    • Block Spawn Delay
    • Teleport Items and XP
    • Particles
    • Sounds
    • Players and Tags
    • Generator Blocks and Chances
    • Summon Mobs
    • Per Dimension Generator
    • Custom Generator
  • additional information
    • Adding Blocks from Addons
    • Adding Tools from Addons
    • Adding Mobs from Addons
Powered by GitBook
On this page
  1. Configuration

Generator Event

Enable or disable the Generator if the block is destroyed or moved by player, explosion or piston by changing this setting to true to enable it or to false to disable it. without quotation mark

config.player = true
config.explosion = true
config.piston = true

Example

Enabling generator to generate block from CCBG when the block is destroyed by explosion

config.explosion = true

Disabling generator to generate block from CCBG when the block is destroyed by explosion

config.explosion = false
PreviousGeneratorNextTools

Last updated 11 months ago