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

Tools

Tools that must be used to break the block in order to make the generator spawn the blocks can be disabled by removing all the items in the array.

config.tools = [
	"minecraft:stone_pickaxe",
	"minecraft:iron_pickaxe",
	"minecraft:gold_pickaxe",
	"minecraft:diamond_pickaxe",
	"minecraft:netherite_pickaxe",
]

Example

I want my generator only generate block if the player use diamond pickaxe and iron pickaxe

config.tools = [
	"minecraft:diamond_pickaxe",
	"minecraft:iron_pickaxe"
]

I want to disable tools so i can use any item to generate custom generator block

config.tools = []
PreviousGenerator EventNextBlock Spawn Delay

Last updated 11 months ago