This commit is contained in:
2025-10-20 07:33:27 +00:00
parent cb6e810b0a
commit 1ab81d5f52
4223 changed files with 1326379 additions and 0 deletions

15
kubejs/README.txt Normal file
View File

@@ -0,0 +1,15 @@
Find out more info on the website: https://kubejs.com/
Directory information:
assets - Acts as a resource pack, you can put any client resources in here, like textures, models, etc. Example: assets/kubejs/textures/item/test_item.png
data - Acts as a datapack, you can put any server resources in here, like loot tables, functions, etc. Example: data/kubejs/loot_tables/blocks/test_block.json
startup_scripts - Scripts that get loaded once during game startup - Used for adding items and other things that can only happen while the game is loading (Can be reloaded with /kubejs reload_startup_scripts, but it may not work!)
server_scripts - Scripts that get loaded every time server resources reload - Used for modifying recipes, tags, loot tables, and handling server events (Can be reloaded with /reload)
client_scripts - Scripts that get loaded every time client resources reload - Used for JEI events, tooltips and other client side things (Can be reloaded with F3+T)
config - KubeJS config storage. This is also the only directory that scripts can access other than world directory
exported - Data dumps like texture atlases end up here
You can find type-specific logs in logs/kubejs/ directory

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 372 B

View File

@@ -0,0 +1,6 @@
// priority: 0
// Visit the wiki for more info - https://kubejs.com/
console.info('Hello, World! (Loaded client scripts)')

View File

@@ -0,0 +1,8 @@
ItemEvents.tooltip(event => {
event.add('eeeabsmobs:heart_of_pagan', '注意狂乱药水会导致bug。现在您获得的任何狂乱药水相关物品都会被替换成对应的力量2药水物品')
event.add('celestial_artifacts:catastrophe_scroll','§3在解锁任务章节§5【世界的枷锁】§3后方可装备灾厄之册')
event.add('celestial_artifacts:twisted_scroll','§3不要佩戴此饰品去打虚空蠕虫会无限分裂')
})

View File

@@ -0,0 +1,16 @@
#KubeJS Client Properties
#Thu Oct 03 15:14:16 CST 2024
backgroundColor=2E3440
barBorderColor=ECEFF4
exportAtlases=false
menuBackgroundBrightness=64
disableRecipeBook=false
title=
barColor=ECEFF4
overrideColors=false
fmlLogColor=ECEFF4
showTagNames=false
fmlMemoryColor=ECEFF4
menuBackgroundScale=32.0
blurScaledPackIcon=true
menuInnerBackgroundBrightness=32

View File

@@ -0,0 +1,13 @@
#KubeJS Common Properties
#Thu Oct 03 15:14:20 CST 2024
matchJsonRecipes=true
allowAsyncStreams=true
announceReload=true
startupErrorGUI=true
serverOnly=false
hideServerScriptErrors=false
saveDevPropertiesInConfig=false
packmode=
ignoreCustomUniqueRecipeIds=false
creativeModeTabIcon=minecraft\:purple_dye
startupErrorReportUrl=

View File

@@ -0,0 +1,157 @@
LootJS.modifiers((event) => {
event
.addEntityLootModifier("mugging_villagers_mod:homeless_villager")
.addLoot("butcher:villager_corpse_item");
event
.addEntityLootModifier("minecraft:ender_dragon")
.addLoot("butcher:enderdragoncorpse","8x irons_spellbooks:dragonskin");
event
.addEntityLootModifier("minecraft:pillager")
.randomChance(0.9) // 30% 概率
.addLoot('minecraft:gunpowder','minecraft:copper_ingot')
.randomChance(0.3) // 30% 概率
.addLoot('minecraft:gunpowder','minecraft:copper_ingot','minecraft:gunpowder');
event
.addEntityLootModifier("minecraft:wither_skeleton")
.addLoot('iceandfire:witherbone');
event
.addEntityLootModifier("minecraft:goat")
.addLoot('minecraft:mutton','minecraft:mutton');
event
.addEntityLootModifier("alexsmobs:rhinoceros")
.addLoot('alexsdelight:raw_bison','alexsdelight:raw_bison','alexsdelight:raw_bison','alexsdelight:raw_bison','alexsdelight:raw_bison');
event
.addEntityLootModifier("minecraft:skeleton")
.addLoot('minecraft:arrow','minecraft:arrow');
event
.addEntityLootModifier("minecraft:vindicator")
.randomChance(0.6) // 30% 概率
.addLoot('minecraft:iron_ingot');
event
.addEntityLootModifier("alexsmobs:grizzly_bear")
.addLoot('butcher:rawbearmeat')
.randomChance(0.6) // 30% 概率
.addLoot('butcher:rawbearmeat','butcher:rawbearmeat');
event
.addEntityLootModifier("minecraft:zombie")
.randomChance(0.3) // 30% 概率
.addLoot('minecraft:iron_nugget','minecraft:iron_ingot')
.randomChance(0.5) // 30% 概率
.addLoot('alexsmobs:maggot');
event
.addEntityLootModifier("mugging_villagers_mod:lil_ill")
.addLoot('mugging_villagers_mod:gun');
event
.addEntityLootModifier("mugging_villagers_mod:wandering_gangster")
.addLoot('mugging_villagers_mod:gun');
event
.addEntityLootModifier("alexscaves:forsaken")
.addLoot('tarotcards:the_devil');
event
.addEntityLootModifier("alexscaves:luxtructosaurus")
.addLoot('tarotcards:the_tower');
event
.addEntityLootModifier("soulsweapons:night_shade")
.addLoot('tarotcards:the_moon');
event
.addEntityLootModifier('cataclysm:the_leviathan')
.addLoot('tarotcards:the_world');
event
.addEntityLootModifier('irons_spellbooks:necromancer')
.randomChance(0.7) // 30% 概率
.addLoot('goety:ectoplasm','irons_spellbooks:common_ink')
.randomChance(0.3) // 30% 概率
.addLoot('irons_spellbooks:uncommon_ink');
event
.addEntityLootModifier('goety:wraith')
.randomChance(0.6) // 30% 概率
.addLoot('2x irons_spellbooks:arcane_essence','irons_spellbooks:common_ink')
.randomChance(0.3) // 30% 概率
.addLoot('irons_spellbooks:uncommon_ink','irons_spellbooks:arcane_essence');
event
.addEntityLootModifier('goety:wraith_servant')
.randomChance(0.6) // 30% 概率
.addLoot('2x irons_spellbooks:arcane_essence','irons_spellbooks:common_ink')
.randomChance(0.4) // 30% 概率
.addLoot('irons_spellbooks:uncommon_ink','irons_spellbooks:arcane_essence');
event
.addEntityLootModifier('goety:warlock')
.randomChance(0.6) // 30% 概率
.addLoot('2x irons_spellbooks:arcane_essence','goety:ectoplasm')
.randomChance(0.5) // 30% 概率
.addLoot('irons_spellbooks:common_ink');
event
.addEntityLootModifier('touhou_little_maid:fairy')
.randomChance(0.6) // 30% 概率
.addLoot('irons_spellbooks:arcane_essence')
.randomChance(0.2) // 30% 概率
.addLoot('farmersdelight:dumplings');
event
.addEntityLootModifier('touhou_little_maid:fairy')
.randomChance(0.7) // 30% 概率
.addLoot('irons_spellbooks:arcane_essence','minecraft:lapis_lazuli')
.randomChance(0.2) // 30% 概率
.addLoot('farmersdelight:dumplings');
event
.addEntityLootModifier('goety:reaper')
.randomChance(0.7) // 30% 概率
.addLoot('minecraft:experience_bottle')
.randomChance(0.7) // 30% 概率
.addLoot('irons_spellbooks:common_ink');
event
.addEntityLootModifier('goety:heretic')
.randomChance(0.9) // 30% 概率
.addLoot('irons_spellbooks:cinder_essence')
.randomChance(0.4) // 30% 概率
.addLoot('minecraft:emerald');
event
.addEntityLootModifier("minecraft:enderman")
.randomChance(0.1) // 30% 概率
.addLoot('celestial_core:treasure_fragment');
event
.addEntityLootModifier("minecraft:rabbit")
.addLoot('minecraft:rabbit_foot');
event
.addEntityLootModifier("legendary_monsters:frostbitten_golem")
.addLoot('ramcompat:frost_robe')
.addLoot('irons_spellbooks:permafrost_shard');
event
.addEntityLootModifier("minecraft:witch")
.randomChance(0.03) // 30% 概率
.addLoot('goety:witch_robe');
event
.addEntityLootModifier("iceandfire:hydra")
.addLoot('ice_and_fire_delight:hydra_meat');
event
.addEntityLootModifier("minecraft:warden")
.addLoot('minecraft:echo_shard');
});

View File

@@ -0,0 +1,28 @@
LootJS.modifiers((event) => {
event
.addEntityLootModifier('legendary_monsters:dune_sentinel')
.addLoot('goety:black_iron_helmet','goety:black_iron_chestplate','goety:black_iron_leggings','goety:black_iron_boots');
event
.addEntityLootModifier("mowziesmobs:umvuthi")
.addLoot('tarotcards:the_sun');
event
.addEntityLootModifier("goety:hostile_redstone_golem")
.addLoot('cataclysm:burning_ashes','cataclysm:abyssal_sacrifice','goety:forbidden_fragment');
event
.addEntityLootModifier("goety:hostile_redstone_monstrosity")
.addLoot('goety:forbidden_fragment');
event
.addEntityLootModifier("alexscaves:forsaken")
.addLoot('celestial_artifacts:cursed_totem');
event
.addEntityLootModifier("soulsweapons:moonknight")
.addLoot('celestial_artifacts:cursed_protector');
});

View File

@@ -0,0 +1,45 @@
LootJS.modifiers((event) => {
event
.addEntityLootModifier('legendary_monsters:posessed_paladin')
.addLoot('celestial_core:treasure_fragment');
event
.addEntityLootModifier("legendary_monsters:ancient_guardian")
.addLoot('celestial_core:treasure_fragment');
event
.addEntityLootModifier('legendary_monsters:cloud_golem')
.addLoot('celestial_core:treasure_fragment');
event
.addEntityLootModifier('legendary_monsters:overgrown_colossus')
.addLoot('celestial_core:treasure_fragment');
event
.addEntityLootModifier("goety:skull_lord")
.addLoot('goety:cursed_paladin_helmet','goety:cursed_paladin_chestplate','goety:cursed_paladin_leggings','goety:cursed_paladin_boots');
event
.addEntityLootModifier("soulsweapons:chaos_monarch")
.addLoot('minecraft:netherite_ingot');
event
.addEntityLootModifier("cataclysm:netherite_monstrosity")
.addLoot('goety:shrouded_blueprint','fumo:cirno_item','19x minecraft:ancient_debris','celestial_artifacts:heart_of_revenge');
event
.addEntityLootModifier("mowziesmobs:frostmaw")
.addLoot('4x minecraft:enchanted_golden_apple','celestial_artifacts:freeze_ring','soulsweapons:frostmourne');
event
.addEntityLootModifier("minecraft:villager")
.addLoot('minecraft:emerald','minecraft:bread');
event
.addEntityLootModifier("minecraft:wandering_trader")
.addLoot('4x minecraft:emerald','minecraft:golden_apple');
event
.addEntityLootModifier("iceandfire:troll")
.addLoot('4x ice_and_fire_delight:troll_intestines');
});

View File

@@ -0,0 +1,64 @@
// 检查玩家背包变化时遍历狂乱药水并修改NBT为力量效果仅非创造模式
PlayerEvents.inventoryChanged(event => {
const player = event.player
// 检查玩家是否为创造模式,如果是则跳过处理
if (player.isCreative()) {
return
}
// 遍历玩家背包中的所有物品
player.inventory.allItems.forEach(item => {
// 检测普通狂乱药水
if (item.id === 'minecraft:potion' &&
item.nbt &&
item.nbt.toString().includes('eeeabsmobs:frenzy')) {
console.info(`发现狂乱药水修改NBT为力量2效果 (玩家: ${player.name})`)
// 直接修改物品的NBT为力量2药水
item.nbt = {
Potion: "minecraft:strong_strength"
}
}
// 检测喷溅型狂乱药水
if (item.id === 'minecraft:splash_potion' &&
item.nbt &&
item.nbt.toString().includes('eeeabsmobs:frenzy')) {
console.info(`发现喷溅型狂乱药水修改NBT为喷溅型力量2效果 (玩家: ${player.name})`)
// 直接修改物品的NBT为喷溅型力量2药水
item.nbt = {
Potion: "minecraft:strong_strength"
}
}
// 检测滞留型狂乱药水
if (item.id === 'minecraft:lingering_potion' &&
item.nbt &&
item.nbt.toString().includes('eeeabsmobs:frenzy')) {
console.info(`发现滞留型狂乱药水修改NBT为滞留型力量2效果 (玩家: ${player.name})`)
// 直接修改物品的NBT为滞留型力量2药水
item.nbt = {
Potion: "minecraft:strong_strength"
}
}
// 检测狂乱药箭
if (item.id === 'minecraft:tipped_arrow' &&
item.nbt &&
item.nbt.toString().includes('eeeabsmobs:frenzy')) {
console.info(`发现狂乱药箭修改NBT为力量2药箭 (玩家: ${player.name})`)
// 直接修改物品的NBT为力量2药箭
item.nbt = {
Potion: "minecraft:strong_strength"
}
}
})
})

View File

@@ -0,0 +1,94 @@
ServerEvents.recipes(event => {
event.shaped('minecraft:totem_of_undying',[
['minecraft:amethyst_shard','minecraft:amethyst_shard','minecraft:amethyst_shard'],
['minecraft:amethyst_shard','minecraft:enchanted_golden_apple','minecraft:amethyst_shard'],
['minecraft:amethyst_shard','minecraft:amethyst_shard','minecraft:amethyst_shard'],
])
event.shaped('iceandfire:ghost_chest',[
[,'minecraft:bone',],
['minecraft:bone','minecraft:chest','minecraft:bone'],
[,'minecraft:bone',],
])
event.replaceInput({output:'broomsmod:wooden_broom'},'minecraft:blaze_rod' , 'iceandfire:dragonbone')
event.replaceInput({output:'cataclysm:the_incinerator'},'minecraft:netherite_sword' , 'iceandfire:dragonsteel_fire_sword')
event.replaceInput({output:'waystones:warp_stone'},'minecraft:amethyst_shard' , 'minecraft:dirt')
event.replaceInput({output:'waystones:warp_stone'},'minecraft:ender_pearl','minecraft:cobblestone')
event.replaceInput({output:"waystones:warp_stone"},"minecraft:emerald","minecraft:emerald")
event.replaceInput({output:"waystones:waystone"},"minecraft:stone_bricks","minecraft:cobblestone")
event.replaceInput({mod:'waystones'},'minecraft:obsidian','minecraft:cobblestone')
event.replaceInput({output:'explorerscompass:explorerscompass'},'minecraft:cracked_stone_bricks','minecraft:cobblestone')
event.replaceInput({output:'explorerscompass:explorerscompass'},'minecraft:cobweb','minecraft:cobblestone')
event.replaceInput({mod:'mowziesmobs'},'mowziesmobs:naga_fang','iceandfire:hydra_fang')
event.replaceInput({mod:'celestial_artifacts'},'celestial_artifacts:life_etching','iceandfire:siren_tear')
event.replaceInput({output:'meetyourfight:fossil_bait'},'minecraft:spider_eye','minecraft:kelp')
event.replaceInput({output:'meetyourfight:dusk_key'},'minecraft:blackstone','iceandfire:deathworm_egg_giant')
event.replaceInput({output:'sw_wukong:monkey_king_template'},'minecraft:enchanted_golden_apple','1x sw_wukong:monkey_king_template')
event.replaceInput({output:'elainabroom:elaina_broom'},'minecraft:purple_wool','minecraft:dragon_head')
event.replaceInput({output:'elainabroom:elaina_broom'},'minecraft:stick','broomsmod:wooden_broom')
event.replaceInput({mod:'celestial_artifacts'},'celestial_artifacts:end_etching','iceandfire:lightning_dragon_heart')
event.replaceInput({mod:'celestial_artifacts'},'celestial_artifacts:desire_etching','iceandfire:fire_dragon_heart')
event.replaceInput({mod:'celestial_artifacts'},'celestial_artifacts:origin_etching','iceandfire:ice_dragon_heart')
event.replaceInput({output:'celestial_artifacts:titan_scabbard'},'celestial_core:light_fragment','cataclysm:sandstorm_in_a_bottle')
event.replaceInput({mod:'sw_wukong'},'minecraft:netherite_helmet','sw_wukong:iron_wukong_helmet')
event.replaceInput({mod:'sw_wukong'},'minecraft:netherite_chestplate','sw_wukong:iron_wukong_chestplate')
event.replaceInput({mod:'sw_wukong'},'minecraft:netherite_leggings','sw_wukong:iron_wukong_leggings')
event.replaceInput({mod:'sw_wukong'},'minecraft:netherite_boots','sw_wukong:iron_wukong_boots')
event.replaceInput({mod:'sw_wukong'},'minecraft:netherite_sword','sw_wukong:iron_wukong_staff')
event.replaceInput({output:'iceandfire:graveyard_soil'},'iceandfire:ectoplasm','goety:ectoplasm')
event.replaceInput({output:'dreadsteel:dreadsteel_ingot'},'iceandfire:dread_shard','soulsweapons:soul_ingot')
event.replaceInput({output:'spawnermod:spawner_key'},'minecraft:spawner','goety:cursed_infuser')
event.replaceInput({output:'disenchanting:disenchanter'},'minecraft:anvil','soulsweapons:essence_of_eventide')
event.replaceInput({output:'celestial_artifacts:greedy_heart'},'celestial_core:heart_fragment','tarotcards:the_hierophant')
event.replaceInput({output:'celestial_artifacts:greedy_heart'},'minecraft:gold_block','cataclysm:cursium_ingot')
event.replaceInput({output:'celestial_artifacts:ender_protector'},'celestial_core:shulker_scrap','minecraft:cake')
event.replaceInput({output:'celestial_artifacts:sacrificial_object'},'celestial_artifacts:truth_etching','iceandfire:ice_dragon_heart')
event.replaceInput({output:'celestial_artifacts:sacrificial_object'},'celestial_core:light_fragment','iceandfire:lightning_dragon_heart')
event.replaceInput({output:'goety:dark_anvil'},'goety:dark_metal_block','goety:dark_ingot')
event.replaceInput({output:'touhou_little_maid_spell:spell_enhancement_core'},'minecraft:ender_eye','cataclysm:essence_of_the_storm')
event.replaceInput({output:'touhou_little_maid_spell:bleeding_heart'},'minecraft:heart_of_the_sea','irons_spellbooks:legendary_ink')
event.replaceInput({output:'touhou_little_maid_spell:flow_core'},'minecraft:heart_of_the_sea','irons_spellbooks:legendary_ink')
event.replaceInput({output:'butcher:bucketofsalt'},'butcher:saltwater_bucket','minecraft:lava_bucket')
event.replaceInput({output:'touhou_little_maid_spell:spring_ring'},'minecraft:blaze_powder','soulsweapons:draugr')
event.replaceInput({output:'touhou_little_maid_spell:quick_chant_ring'},'minecraft:ender_pearl','alexsmobs:void_worm_eye')
event.replaceInput({output:'irons_spellbooks:druidic_spell_book'},'minecraft:spore_blossom','legendary_monsters:nature_crystal')
event.replaceInput({output:'irons_spellbooks:druidic_spell_book'},'minecraft:honey_bottle','minecraft:oak_sapling')
event.replaceInput({output:'irons_spellbooks:druidic_spell_book'},'minecraft:amethyst_cluster','minecraft:birch_sapling')
event.replaceInput({output:'irons_spellbooks:druidic_spell_book'},'minecraft:glow_ink_sac','minecraft:poppy')
event.replaceInput({output:'iceandfire:ghost_sword'},'iceandfire:dragonbone_sword','minecraft:iron_sword')
})

View File

@@ -0,0 +1,394 @@
ServerEvents.recipes(event => {
event.shaped('minecraft:wither_skeleton_skull',[
['minecraft:bone','minecraft:bone','minecraft:bone'],
['minecraft:bone','butcher:villager_corpse_item','minecraft:bone'],
['minecraft:bone','minecraft:bone','minecraft:bone'],
])
event.shaped('celestial_artifacts:catastrophe_scroll',[
['iceandfire:dragonbone','iceandfire:dragonbone','iceandfire:dragonbone'],
['iceandfire:dragonbone','iceandfire:cyclops_eye','iceandfire:dragonbone'],
['iceandfire:dragonbone','iceandfire:dragonbone','iceandfire:dragonbone'],
])
event.shaped('ice_and_fire_delight:fire_lily_extract',[
['gamediscs:game_disc_flappy_bird']
])
event.shaped('ice_and_fire_delight:fire_lily_extract',[
['gamediscs:game_disc_slime']
])
event.shaped('ice_and_fire_delight:frost_lily_extract',[
['gamediscs:game_disc_blocktris']
])
event.shaped('ice_and_fire_delight:frost_lily_extract',[
['gamediscs:game_disc_tnt_sweeper']
])
event.shaped('minecraft:netherite_scrap',[
['gamediscs:game_disc_pong']
])
event.shaped('minecraft:netherite_scrap',[
['gamediscs:game_disc_froggie']
])
event.shaped('tarotcards:the_high_priestess',[
['bosses_of_mass_destruction:ancient_anima','bosses_of_mass_destruction:void_thorn','soulsweapons:moonstone']
])
event.shaped('tarotcards:the_empress',[
['farmersdelight:carrot_crate','farmersdelight:potato_crate','farmersdelight:beetroot_crate'],
['farmersdelight:cabbage_crate','minecraft:cake','farmersdelight:tomato_crate'],
['farmersdelight:onion_crate','farmersdelight:rice_bag','minecraft:hay_block'],
])
event.shaped('zenith:zenith',[
['irons_spellbooks:fire_upgrade_orb','irons_spellbooks:ice_upgrade_orb','irons_spellbooks:lightning_upgrade_orb'],
['irons_spellbooks:holy_upgrade_orb','minecraft:netherite_sword','irons_spellbooks:ender_upgrade_orb'],
['irons_spellbooks:blood_upgrade_orb','irons_spellbooks:evocation_upgrade_orb','irons_spellbooks:nature_upgrade_orb'],
])
event.shaped('irons_spellbooks:blank_rune',[
['minecraft:emerald','minecraft:emerald'] ,
['minecraft:emerald','minecraft:emerald']
])
event.shaped('tarotcards:the_emperor',[
['minecraft:emerald_block','minecraft:diamond_block','minecraft:emerald_block'] ,
['minecraft:diamond_block','minecraft:iron_sword','minecraft:diamond_block'] ,
['minecraft:emerald_block','minecraft:diamond_block','minecraft:emerald_block']
])
event.shaped('celestial_artifacts:cross_necklace',[
['minecraft:chain','minecraft:gold_ingot'] ,
['minecraft:gold_ingot','minecraft:enchanted_golden_apple']
])
event.shaped('tarotcards:the_hierophant',[
['bosses_of_mass_destruction:soul_star','celestial_artifacts:prayer_crown','bosses_of_mass_destruction:soul_star'] ,
['irons_spellbooks:graybeard_staff','irons_spellbooks:magic_cloth','irons_spellbooks:graybeard_staff'] ,
['ironchests:key','tarotcards:the_emperor','ironchests:key']
])
event.shaped('tarotcards:the_lovers',[
['irons_spellbooks:divine_pearl','irons_spellbooks:divine_pearl','irons_spellbooks:divine_pearl'],
['bosses_of_mass_destruction:crystal_fruit','goety:cushion_focus','celestial_core:fire_essence'] ,
['irons_spellbooks:divine_pearl','irons_spellbooks:divine_pearl','irons_spellbooks:divine_pearl']
])
event.shaped('tarotcards:the_chariot',[
['minecraft:oak_log','mowziesmobs:wrought_helmet','minecraft:oak_log'],
['minecraft:oak_log','minecraft:iron_block','minecraft:oak_log'] ,
['soulsweapons:lord_soul_night_prowler','minecraft:lead','soulsweapons:lord_soul_day_stalker']
])
event.shaped('tarotcards:strength',[
['minecraft:dandelion','minecraft:cornflower','minecraft:poppy'] ,
['minecraft:azure_bluet','celestial_artifacts:diamond_ring','cataclysm:ignitium_ingot'],
['cataclysm:ignitium_ingot','cataclysm:ignitium_ingot','cataclysm:ignitium_ingot']
])
event.shaped('tarotcards:the_hermit',[
['meetyourfight:wilted_ideals','minecraft:lantern',],
['minecraft:lantern','minecraft:nether_star','minecraft:lantern'],
[,'minecraft:lantern',]
])
event.shaped('tarotcards:wheel_of_fortune',[
['alexsmobs:capsid','alexsmobs:capsid','alexsmobs:capsid'],
['alexscaves:amber_curiosity','meetyourfight:fortunes_favor','alexscaves:tectonic_shard'],
['alexsmobs:capsid','alexsmobs:capsid','alexsmobs:capsid']
])
event.shaped('tarotcards:justice',[
['minecraft:emerald_block','minecraft:emerald_block','minecraft:emerald_block'],
['minecraft:emerald_block','celestial_core:pure_nether_star','minecraft:emerald_block'],
['minecraft:emerald_block','minecraft:emerald_block','minecraft:emerald_block']
])
event.shaped('tarotcards:the_hanged_man',[
['tarotcards:justice','minecraft:ink_sac']
])
event.shaped('tarotcards:death',[
['butcher:stomach','butcher:lungs','butcher:liver'] ,
['butcher:kidney','minecraft:heart_of_the_sea','butcher:kidney'],
['butcher:intestines','butcher:intestines','butcher:intestines']
])
event.shaped('tarotcards:the_magician',[
['minecraft:golden_apple','minecraft:golden_apple'] ,
['minecraft:golden_apple','minecraft:golden_apple']
])
event.shaped('ringsofascension:ring_steadfast_steps',[
['minecraft:dirt','minecraft:dirt'] ,
['minecraft:dirt','minecraft:dirt']
])
event.shaped('celestial_core:soaring_wings',[
['celestial_core:void_essence','soulsweapons:soul_ingot'],
['minecraft:phantom_membrane']
])
event.shaped('bosses_of_mass_destruction:soul_star',[
['soulsweapons:lost_soul','soulsweapons:lost_soul'],
['soulsweapons:lost_soul','soulsweapons:lost_soul']
])
event.shaped('minecraft:emerald',[
['soulsweapons:chungus_emerald']
])
event.shaped('yakumoblade:star_soul_crystal',[
['celestial_core:pure_nether_star','celestial_core:soaring_wings'],
['soulsweapons:moonstone','irons_spellbooks:arcane_ingot']
])
event.shaped('minecraft:saddle',[
['minecraft:leather','minecraft:leather'],
['minecraft:leather','minecraft:leather']
])
event.shaped('touhou_little_maid:smart_slab_empty',[
['celestial_core:treasure_fragment','minecraft:poppy'],
['minecraft:dandelion','minecraft:azure_bluet']
])
event.shaped('celestial_artifacts:desire_etching',[
['minecraft:emerald_block','minecraft:emerald_block','minecraft:emerald_block'],
['celestial_artifacts:precious_necklace','alexscaves:immortal_embryo','celestial_artifacts:emerald_necklace'],
['minecraft:emerald_block','minecraft:emerald_block','minecraft:emerald_block']
])
event.shaped('celestial_artifacts:nihility_etching',[
['iceandfire:silver_ingot','iceandfire:silver_ingot','iceandfire:silver_ingot'],
['iceandfire:silver_ingot','eeeabsmobs:guardian_core','iceandfire:silver_ingot'],
['iceandfire:silver_ingot','iceandfire:silver_ingot','iceandfire:silver_ingot']
])
event.shaped('celestial_artifacts:end_etching',[
['celestial_core:warden_sclerite','celestial_core:warden_sclerite','celestial_core:warden_sclerite'],
['celestial_core:warden_sclerite','celestial_artifacts:destroyer_badge','celestial_core:warden_sclerite'],
['celestial_core:warden_sclerite','celestial_core:warden_sclerite','celestial_core:warden_sclerite']
])
event.shaped('celestial_artifacts:truth_etching',[
[,'butcher:clothed_pillager_corpse',],
['butcher:clothed_pillager_corpse','cagedmobs:star_infused_netherite_ingot','butcher:clothed_pillager_corpse'],
[,'butcher:clothed_pillager_corpse',]
])
event.shaped('artifacts:digging_claws',[
['minecraft:iron_hoe','minecraft:iron_shovel'],
['minecraft:iron_pickaxe','minecraft:iron_axe']
])
event.shaped('artifacts:cloud_in_a_bottle',[
['minecraft:glass_bottle','legendary_monsters:air_rune']
])
event.shaped('slashblade:proudsoul',[
['minecraft:emerald_block','minecraft:gold_ingot']
])
event.shaped('artifacts:rooted_boots',[
['legendary_monsters:nature_crystal','minecraft:leather_boots']
])
event.shaped('sw_wukong:monkey_king_template',[
['soulsweapons:empowered_dawnbreaker','skyarena:diamond_trophy','soulsweapons:nights_edge_item']
])
event.shaped('cataclysm:final_fractal',[
['soulsweapons:soul_ingot','soulsweapons:featherlight','dreadsteel:dreadsteel_ingot'],
['soulsweapons:draugr','skyarena:gold_trophy','legendary_monsters:soul_great_sword'],
['cagedmobs:star_infused_netherite_ingot','cataclysm:the_incinerator','cataclysm:witherite_ingot']
])
event.shaped('minecraft:shulker_shell',[
['minecraft:popped_chorus_fruit','minecraft:end_stone']
])
event.shaped('alexsmobs:mimicream',[
['minecraft:popped_chorus_fruit','minecraft:lapis_block','irons_spellbooks:dragonskin'],
['minecraft:lapis_block','dreadsteel:dreadsteel_ingot','minecraft:diamond_block'],
['irons_spellbooks:dragonskin','minecraft:diamond_block','minecraft:popped_chorus_fruit']
])
event.shaped('celestial_artifacts:origin_etching',[
['celestial_core:earth_core','celestial_core:heart_fragment','celestial_core:earth_core'],
['celestial_core:void_essence','minecraft:dragon_head','celestial_core:void_essence'],
['celestial_core:earth_core','celestial_core:broken_totem','celestial_core:earth_core']
])
event.shaped('minecraft:crying_obsidian',[
['minecraft:obsidian','farmersdelight:onion_crate']
])
event.shaped('iceandfire:deathworm_egg_giant',[
['iceandfire:deathworm_egg','ice_and_fire_delight:dragon_pie_crust']
])
event.shaped('soulsweapons:demon_heart',[
['alexsmobs:blood_sac','minecraft:crimson_fungus'],
['minecraft:warped_fungus','minecraft:shroomlight']
])
event.shaped('fumo:blue_reimu_item',[
['minecraft:blue_wool','minecraft:blue_wool','minecraft:blue_wool'],
['minecraft:blue_wool','fumo:new_reimu_item','minecraft:blue_wool'],
['minecraft:blue_wool','minecraft:blue_wool','minecraft:blue_wool']
])
event.shaped('fumo:reimu_item',[
['minecraft:light_gray_wool','minecraft:light_gray_wool','minecraft:light_gray_wool'],
['minecraft:light_gray_wool','fumo:new_reimu_item','minecraft:light_gray_wool'],
['minecraft:light_gray_wool','minecraft:light_gray_wool','minecraft:light_gray_wool']
])
event.shaped('minecraft:enchanted_golden_apple',[
['minecraft:apple','minecraft:gold_block'],
['minecraft:gold_block','minecraft:gold_block']
])
event.shaped('time_slow:knight_defence',[
['legendary_monsters:knights_sword','legendary_monsters:corrupted_soul'],
['minecraft:shield','goety:ectoplasm']
])
event.shaped('time_slow:time_slow',[
['celestial_core:treasure_fragment','minecraft:amethyst_shard','celestial_core:treasure_fragment'],
['minecraft:amethyst_shard','soulsweapons:shard_of_uncertainty','minecraft:amethyst_shard'],
['celestial_core:treasure_fragment','minecraft:amethyst_shard','celestial_core:treasure_fragment']
])
event.shaped('time_slow:heal_defence',[
['bosses_of_mass_destruction:soul_star','bosses_of_mass_destruction:soul_star','bosses_of_mass_destruction:soul_star'],
['hotbath:rose_bath_bucket','tarotcards:the_lovers','minecraft:netherite_ingot'],
['bosses_of_mass_destruction:soul_star','bosses_of_mass_destruction:soul_star','bosses_of_mass_destruction:soul_star']
])
event.shaped('time_slow:power_defence',[
['celestial_artifacts:netherite_ring','ice_and_fire_delight:fire_sausage'],
['ice_and_fire_delight:ice_sausage','ice_and_fire_delight:lightning_sausage']
])
event.shaped('time_slow:god_defence',[
['iceandfire:dragonsteel_fire_ingot','iceandfire:dragonsteel_ice_ingot','iceandfire:dragonsteel_lightning_ingot'],
['celestial_artifacts:gaia_totem','celestial_core:pure_nether_star','celestial_artifacts:gaia_totem'],
['iceandfire:dragonsteel_ice_ingot','iceandfire:dragonsteel_lightning_ingot','iceandfire:dragonsteel_fire_ingot']
])
event.shaped('irons_spellbooks:invisibility_ring',[
['minecraft:carved_pumpkin','minecraft:ender_pearl']
])
event.shaped('goety:stormlander',[
['goety:great_hammer','irons_spellbooks:lightning_bottle'],
['irons_spellbooks:lightning_bottle','iceandfire:lightning_dragon_heart']
])
event.shaped('meetyourfight:devils_ante',[
['minecraft:end_stone','minecraft:end_stone','minecraft:end_stone'],
['minecraft:end_stone','alexsmobs:void_worm_eye','minecraft:end_stone'],
['minecraft:end_stone','minecraft:end_stone','minecraft:end_stone']
])
event.shaped('celestial_core:heart_fragment',[
['butcher:clothed_pillager_corpse','iceandfire:lightning_stew']
])
event.shaped('irons_spellbooks:uncommon_ink',[
['irons_spellbooks:common_ink','irons_spellbooks:common_ink','irons_spellbooks:common_ink'],
['irons_spellbooks:common_ink','minecraft:copper_ingot']
])
event.shaped('irons_spellbooks:rare_ink',[
['irons_spellbooks:uncommon_ink','irons_spellbooks:uncommon_ink','irons_spellbooks:uncommon_ink'],
['irons_spellbooks:uncommon_ink','minecraft:iron_ingot']
])
event.shaped('irons_spellbooks:epic_ink',[
['irons_spellbooks:rare_ink','irons_spellbooks:rare_ink','irons_spellbooks:rare_ink'],
['irons_spellbooks:rare_ink','minecraft:gold_ingot']
])
event.shaped('irons_spellbooks:legendary_ink',[
['irons_spellbooks:epic_ink','irons_spellbooks:epic_ink','irons_spellbooks:epic_ink'],
['irons_spellbooks:epic_ink','minecraft:amethyst_shard']
])
event.shaped('refurbished_furniture:television_remote',[
['minecraft:iron_nugget','minecraft:redstone_lamp','minecraft:iron_nugget'],
['minecraft:iron_nugget','minecraft:redstone','minecraft:iron_nugget'],
['minecraft:iron_nugget','minecraft:copper_ingot','minecraft:iron_nugget']
])
event.shaped('alexscaves:spawn_egg_hullbreaker',[
['alexscaves:diving_helmet','minecraft:lapis_block','alexscaves:diving_chestplate'],
['alexscaves:deep_sea_sushi_roll','alexscaves:pearl','alexscaves:deep_sea_sushi_roll'],
['alexscaves:diving_leggings','minecraft:lapis_block','alexscaves:diving_boots']
])
event.shaped('alexsmobs:spawn_egg_farseer',[
['alexsmobs:shattered_dimensional_carver','alexsmobs:shattered_dimensional_carver','alexsmobs:shattered_dimensional_carver'],
['alexsmobs:shattered_dimensional_carver','celestial_core:pure_nether_star','alexsmobs:shattered_dimensional_carver'],
['alexsmobs:shattered_dimensional_carver','alexsmobs:shattered_dimensional_carver','alexsmobs:shattered_dimensional_carver']
])
event.shaped('peyroscythe:captain_greg_donut',[
['minecraft:sweet_berries','minecraft:copper_block','minecraft:sweet_berries'],
['minecraft:copper_block',,'minecraft:lapis_lazuli'],
['minecraft:sweet_berries','minecraft:lapis_lazuli','minecraft:sweet_berries']
])
event.shaped('peyroscythe:pontifical_knight_medal',[
[,'irons_spellbooks:ancient_knowledge_fragment',],
['minecraft:sculk_catalyst','celestial_core:treasure_fragment','minecraft:sculk_catalyst'],
[,'irons_spellbooks:ancient_knowledge_fragment',]
])
event.shaped('peyroscythe:wintermoon_heart',[
['irons_spellbooks:arcane_ingot','celestial_core:treasure_fragment','irons_spellbooks:arcane_ingot'],
['celestial_core:treasure_fragment','legendary_monsters:primal_ice_shard','celestial_core:treasure_fragment'],
['irons_spellbooks:arcane_ingot','celestial_core:treasure_fragment','irons_spellbooks:arcane_ingot']
])
event.shaped('time_slow:savior_guardian',[
['time_slow:time_slow','tarotcards:the_chariot','time_slow:power_defence'],
['alexsmobs:mimicream','skyarena:netherite_trophy','alexscaves:tremorzilla_egg'],
['time_slow:knight_defence','time_slow:heal_defence','time_slow:god_defence']
])
event.shaped('refurbished_furniture:sea_salt',[
['butcher:salt']
])
event.shaped('butcher:salt',[
['refurbished_furniture:sea_salt']
])
event.shaped('butcher:salt',[
['irons_spellbooks:common_ink','minecraft:clay_ball']
])
event.shaped('soulsweapons:withered_demon_heart',[
['soulsweapons:darkin_blade','farmersdelight:apple_cider']
])
event.shaped('iceandfire:ghost_ingot',[
['minecraft:gold_ingot','iceandfire:ectoplasm'],
['iceandfire:ectoplasm','iceandfire:ectoplasm']
])
event.shaped('iceandfire:ectoplasm',[
['goety:ectoplasm','minecraft:copper_ingot']
])
})

View File

@@ -0,0 +1,33 @@
ServerEvents.recipes(event => {
event.remove({mod:'zenith'})
event.remove({mod:'dragonseeker'})
event.remove({output:'celestial_artifacts:corrupt_badge'})
event.remove({output:'celestial_artifacts:war_dead_badge'})
event.remove({output:'toms_storage:ts.inventory_proxy'})
event.remove({output:'celestial_artifacts:cursed_protector'})
event.remove({output:'alexscaves:beholder'})
event.remove({output:'eeeabsmobs:bloody_altar_eye'})
event.remove({output:'celestial_artifacts:flight_ring'})
event.remove({output:'goety_revelation:valettein'})
event.remove({output:'meetyourfight:devils_ante'})
event.remove({output:'alexscaves:holocoder'})
event.remove({output:'alexscaves:hologram_projector'})
event.remove({output:"irons_spellbooks:frostward_ring"})
event.remove({output:"peyroscythe:captain_greg_transformable"})
event.remove({output:"peyroscythe:captain_greg_pa"})
})

View File

@@ -0,0 +1,68 @@
LootJS.modifiers(event => {
//主世界
event.addLootTypeModifier(LootType.CHEST)
.anyDimension("minecraft:overworld").randomChance(1).addLoot(
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.125)),
LootEntry.of('minecraft:copper_block', 1)
.when(c => c.randomChance(0.355)),
LootEntry.of('minecraft:copper_ingot', 1)
.when(c => c.randomChance(0.355)),
LootEntry.of('minecraft:gunpowder', 1)
.when(c => c.randomChance(0.455)),
LootEntry.of('minecraft:gunpowder', 1)
.when(c => c.randomChance(0.455)),
LootEntry.of('minecraft:gunpowder', 1)
.when(c => c.randomChance(0.455)),
LootEntry.of('minecraft:gunpowder', 1)
.when(c => c.randomChance(0.455)),
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.09)),
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.08)),
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.07)),
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.05)),
LootEntry.of('slashblade:proudsoul_tiny', 1)
.when(c => c.randomChance(0.025)),
LootEntry.of('slashblade:proudsoul', 1)
.when(c => c.randomChance(0.33)),
LootEntry.of('slashblade:proudsoul', 1)
.when(c => c.randomChance(0.033)),
LootEntry.of('slashblade:proudsoul', 1)
.when(c => c.randomChance(0.02)),
LootEntry.of('slashblade:proudsoul', 1)
.when(c => c.randomChance(0.006)),
LootEntry.of('slashblade:proudsoul', 1)
.when(c => c.randomChance(0.005)),
LootEntry.of('slashblade:proudsoul_ingot', 1)
.when(c => c.randomChance(0.045))
);
//下界
event.addLootTypeModifier(LootType.CHEST)
.anyDimension("minecraft:the_nether").randomChance(1).addLoot(
LootEntry.of('slashblade:proudsoul_ingot', 1)
.when(c => c.randomChance(0.07)),
LootEntry.of('slashblade:proudsoul_ingot', 1)
.when(c => c.randomChance(0.115)),
LootEntry.of('slashblade:proudsoul_sphere', 1)
.when(c => c.randomChance(0.09))
);
//末地
event.addLootTypeModifier(LootType.CHEST)
.anyDimension("minecraft:the_end").randomChance(0.6).addLoot(
LootEntry.of('slashblade:proudsoul_ingot', 1)
.when(c => c.randomChance(0.07)),
LootEntry.of('slashblade:proudsoul_ingot', 1)
.when(c => c.randomChance(0.115)),
LootEntry.of('slashblade:proudsoul_sphere', 1)
.when(c => c.randomChance(0.125)),
LootEntry.of('slashblade:proudsoul_sphere', 1)
.when(c => c.randomChance(0.09)),
LootEntry.of('slashblade:proudsoul_crystal', 1)
.when(c => c.randomChance(0.07))
);
});

View File

@@ -0,0 +1,8 @@
ServerEvents.recipes(event => {
event.smelting('minecraft:wither_skeleton_skull', 'minecraft:skeleton_skull',50,20*60)
event.blasting('minecraft:wither_skeleton_skull', 'minecraft:skeleton_skull',50,20*60)
event.smelting('fumo:tan_cirno_item', 'fumo:cirno_item')
})

View File

@@ -0,0 +1,10 @@
ItemEvents.modification(event=>{
event.modify('zenith:zenith',item=>{
item.maxDamage=120
})
event.modify("ironchests:iron_dolly", item => {
item.maxDamage = 0;
});
})