global.nukelist = [ // List of items to be disabled and hidden from the game.
'autumnity:maple_leaf_pile',
'autumnity:orange_maple_leaf_pile',
'autumnity:pancake',
'autumnity:red_maple_leaf_pile',
'autumnity:yellow_maple_leaf_pile',
'crittersandcompanions:clam',
'crittersandcompanions:jumping_spider_spawn_egg',
'crittersandcompanions:koi_fish_bucket',
'crittersandcompanions:koi_fish_spawn_egg',
'crittersandcompanions:koi_fish', // Item and Entity have same ID
'crittersandcompanions:pearl_necklace_1',
'crittersandcompanions:pearl_necklace_2',
'crittersandcompanions:pearl_necklace_3',
'crittersandcompanions:pearl',
'crittersandcompanions:silk_cocoon',
'crittersandcompanions:silk_lead',
'crittersandcompanions:silk',
'ecologics:coconut_crab_spawn_egg',
'ecologics:crab_claw',
'ecologics:crab_meat',
'ecologics:penguin_feather',
'ecologics:penguin_spawn_egg',
'ecologics:pot',
'enderscape:end_stone_rubble_shield',
'enderscape:kurodite_rubble_shield',
'enderscape:mirestone_rubble_shield',
'enderscape:mirror',
'enderscape:veiled_leaf_pile',
'enderscape:veradite_rubble_shield',
'friendsandfoes:buttercup',
'friendsandfoes:copper_golem_spawn_egg',
'friendsandfoes:moobloom_spawn_egg',
'friendsandfoes:wildfire_spawn_egg',
'goated:thatch_slab',
'goated:thatch_stairs',
'goated:thatch',
'illagerinvasion:illusionary_dust',
'illagerinvasion:illusioner_spawn_egg',
'illagerinvasion:lost_candle',
'illagerinvasion:platinum_chunk',
'illagerinvasion:platinum_infused_hatchet',
'illagerinvasion:platinum_sheet',
'illagerinvasion:unusual_dust',
'mobs_of_mythology:bronze_block',
'mobs_of_mythology:bronze_ingot',
'mobs_of_mythology:cut_bronze_block',
'mobs_of_mythology:pegasus_spawn_egg',
'oreganized:gargoyle',
'quark:chute',
'quark:feeding_trough',
'quark:iron_rod',
'quark:stone_brick_lamp',
'quark:stone_lamp',
'quark:gold_bars',
'revotedwildfire:caged_fire',
'revotedwildfire:wildfire_fragment',
'storagedrawers:compacting_drawers_2',
'storagedrawers:compacting_drawers_3',
'storagedrawers:compacting_half_drawers_2',
'storagedrawers:compacting_half_drawers_3',
'storagedrawers:controller_io',
'storagedrawers:controller',
'storagedrawers:detached_drawer',
'storagedrawers:drawer_puller',
'storagedrawers:framing_table',
'storagedrawers:keybutton_concealment',
'storagedrawers:keybutton_drawer',
'storagedrawers:keybutton_quantify',
'storagedrawers:keyring',
'storagedrawers:magnet_upgrade_2',
'storagedrawers:magnet_upgrade_3',
'storagedrawers:personal_key_cofh',
'storagedrawers:personal_key_ftb',
'storagedrawers:personal_key',
'storagedrawers:priority_key',
'storagedrawers:suspend_key',
'storagedrawers:upgrade_template',
'supplementaries:ecologics/cannon_boat_flowering_azalea',
'supplementaries:ecologics/way_sign_flowering_azalea',
'supplementaries:item_shelf',
'supplementaries:urn',
'upgrade_aquatic:nautilus_bucket',
'upgrade_aquatic:nautilus_spawn_egg',
'variantsandventures:murk_spawn_egg',

// Mobs
'aether:mimic',
'crittersandcompanions:jumping_spider',
'crittersandcompanions:koi_fish',
'ecologics:coconut_crab',
'friendsandfoes:copper_golem',
'friendsandfoes:moobloom',
'friendsandfoes:wildfire',
'minecraft:illusioner',
'mobs_of_mythology:pegasus',
'upgrade_aquatic:nautilus',
'variantsandventures:murk',

// Regex

/ecologics.*flowering_azalea/,
/friendsandfoes.*lightning_rod/,
/friendsandfoes.*copper_button/,

]

// Below section is for removing items/blocks that come in multiple different wood types or colours.

const vanillaWoodTypes = [
  'oak', 'spruce', 'birch', 'jungle', 'acacia', 'dark_oak',
  'mangrove', 'cherry', 'bamboo', 'crimson', 'warped'
]

const dyeColours = [
  'white', 'orange', 'magenta', 'light_blue', 'yellow', 'lime', 'pink',
  'gray', 'light_gray', 'cyan', 'purple', 'blue', 'brown', 'green', 'red', 'black'
]

const drawerUpgrades = [
  'obsidian_storage', 'copper_storage', 'iron_storage', 'gold_storage', 'emerald_storage', 
  'diamond_storage', 'netherite_storage', 'one_stack', 'void', 'conversion', 'redstone', 
  'min_redstone', 'max_redstone', 'illumination', 'fill_level', 'balance_fill',
  'portability', 'hopper', 'magnet', 'remote', 'remote_group'
]

for (const wood of vanillaWoodTypes) {
  if (wood !== 'oak') {
    global.nukelist.push(`friendsandfoes:${wood}_beehive`)
  }
}

for (const upgrade of drawerUpgrades) {
  global.nukelist.push(`storagedrawers:${upgrade}_upgrade`)
}

StartupEvents.registry('creative_mode_tab', event => {
  if (global.nukelist.length > 0) {
	  event.create('Nukelist').icon(() => 'minecraft:barrier').content(() => [
      global.nukelist
	  ])
    //event.remove(global.nukelist)
  }
})



// To use these item nuking scripts, type the IDs of items you want to disable in the space above. 
// Then, type 'nukelist reload', which will run these commands: (this is a custom script as well)
// /kubejs reload startup-scripts
// /reload
// /kubejs reload lang

// Can nuke Items, Blocks, Fluids, Entities
