refactor: try to add adventure maps

This commit is contained in:
2025-12-01 11:59:26 +08:00
parent 300c590326
commit 6096cc9562
4 changed files with 29 additions and 7 deletions
+1 -1
View File
@@ -33,7 +33,7 @@
make_mechanical(event, 'minecraft:diamond_boots', 'minecraft:diamond', [
'A A',
'A A',
])
]);
});
function make_mechanical(event, thing, material, shape){
event.remove({output: thing});
+5 -4
View File
@@ -15,16 +15,18 @@ const deco_list = [
'32x minecraft:diorite',
'32x minecraft:granite',
'32x minecraft:andesite',
'32x minecraft:stone',
'32x minecraft:mossy_cobblestone',
'32x minecraft:calcite',
'32x minecraft:tuff',
'32x minecraft:cobblestone',
'32x minecraft:stone',
'32x minecraft:cobbled_deepslate',
'32x minecraft:deepslate',
'32x minecraft:dirt',
'32x minecraft:gravel',
'32x minecraft:sand',
'32x minecraft:mud',
'32x minecraft:mud_bricks',
'32x minecraft:stone_bricks',
'32x minecraft:cobbled_deepslate',
];
// level 3 sells enchantment books for random gem
@@ -182,7 +184,6 @@ const gems = [
MoreJSEvents.villagerTrades((event) => {
event.removeVanillaTrades();
event.removeModdedTrades();
const professions = VillagerUtils.getProfessions();
professions.forEach(prof => {
const profName = prof.name();