3 标签


你应将以下内容放在.minecraft\kubejs\server_scripts

onEvent('item.tags', event => {
        // 获取 #forge:cobblestone,然后将minecraft:diamond_ore添加进去
        event.add('forge:cobblestone', 'minecraft:diamond_ore')
  
        // 获取#forge:cobblestone,然后移除minecraft:mossy_cobblestone
        event.remove('forge:cobblestone', 'minecraft:mossy_cobblestone')
  
        // 移除#forge:ingots/copper
        event.removeAll('forge:ingots/copper')
})