Altered portal and test villager data

This commit is contained in:
patience 2025-09-04 23:28:05 +01:00
parent 5beb4b1304
commit cf7da8e7c6
No known key found for this signature in database
3 changed files with 84 additions and 114 deletions

View file

@ -1,51 +1,47 @@
{ {
"type": "minecraft:block", "type": "minecraft:block",
"pools": [ "pools": [
{ {
"bonus_rolls": 0.0, "bonus_rolls": 0.0,
"entries": [ "entries": [
{ {
"type": "minecraft:alternatives", "type": "minecraft:alternatives",
"children": [ "children": [
{ {
"type": "minecraft:item", "type": "minecraft:item",
"conditions": [ "conditions": [
{ {
"condition": "minecraft:match_tool", "condition": "minecraft:match_tool",
"predicate": { "predicate": {
"enchantments": [ "enchantments": [
{ {
"enchantment": "minecraft:silk_touch", "enchantment": "minecraft:silk_touch",
"levels": { "levels": {"min": 1}
"min": 1 }
} ]
} }
] }
} ],
} "name": "minecraft:ancient_debris"
], },
"name": "minecraft:ancient_debris" {
}, "type": "minecraft:item",
{ "functions": [
"type": "minecraft:item", {
"functions": [ "enchantment": "minecraft:fortune",
{ "formula": "minecraft:ore_drops",
"enchantment": "minecraft:fortune", "function": "minecraft:apply_bonus"
"formula": "minecraft:ore_drops", },
"function": "minecraft:apply_bonus" {"function": "minecraft:explosion_decay"}
}, ],
{ "name": "minecraft:netherite_scrap"
"function": "minecraft:explosion_decay" }
} ]
], }
"name": "minecraft:netherite_scrap" ],
} "rolls": 1.0
] }
} ],
], "random_sequence": "minecraft:blocks/ancient_debris"
"rolls": 1.0
}
],
"random_sequence": "minecraft:blocks/ancient_debris"
} }

View file

@ -64,93 +64,48 @@
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [ "functions": [{"function": "minecraft:enchant_randomly"}],
{ "name": "paxelsfordummies:wooden_paxel",
"function": "minecraft:enchant_randomly" "weight": 35
}
],
"name": "minecraft:stone_sword",
"weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:stone_axe", "name": "minecraft:stone_axe",
"weight": 15 "weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:stone_hoe", "name": "minecraft:stone_hoe",
"weight": 15 "weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:stone_shovel", "name": "minecraft:stone_shovel",
"weight": 15 "weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [ "functions": [{"function": "minecraft:enchant_randomly"}],
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:wooden_pickaxe",
"weight": 15
},
{
"type": "minecraft:item",
"functions": [
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:leather_boots", "name": "minecraft:leather_boots",
"weight": 15 "weight": 5
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [ "functions": [{"function": "minecraft:enchant_randomly"}],
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:leather_chestplate", "name": "minecraft:leather_chestplate",
"weight": 15 "weight": 5
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [ "functions": [{"function": "minecraft:enchant_randomly"}],
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:leather_helmet", "name": "minecraft:leather_helmet",
"weight": 15 "weight": 5
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"functions": [ "functions": [{"function": "minecraft:enchant_randomly"}],
{
"function": "minecraft:enchant_randomly"
}
],
"name": "minecraft:leather_leggings", "name": "minecraft:leather_leggings",
"weight": 15 "weight": 5
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
@ -166,12 +121,12 @@
} }
], ],
"name": "minecraft:glistering_melon_slice", "name": "minecraft:glistering_melon_slice",
"weight": 5 "weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
"name": "minecraft:leather_horse_armor", "name": "minecraft:leather_horse_armor",
"weight": 5 "weight": 15
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
@ -187,12 +142,7 @@
} }
], ],
"name": "minecraft:golden_carrot", "name": "minecraft:golden_carrot",
"weight": 5 "weight": 15
},
{
"type": "minecraft:item",
"name": "minecraft:clock",
"weight": 5
}, },
{ {
"type": "minecraft:item", "type": "minecraft:item",
@ -221,8 +171,8 @@
"add": false, "add": false,
"count": { "count": {
"type": "minecraft:uniform", "type": "minecraft:uniform",
"max": 2, "max": 11,
"min": 1 "min": 4
}, },
"function": "minecraft:set_count" "function": "minecraft:set_count"
} }

View file

@ -0,0 +1,24 @@
{
"levels": {
"1": {
"take": {
"type": "constant",
"value": 2
},
"trades": [
{
"sells": {"item": "emerald","count": 1},
"wants": [{"item": "golden_carrot","count":3}]
},
{
"sells": {"item": "cake","count": 1},
"wants": [{"item": "emerald","count":3}]
},
{
"sells": {"item": "glistering_melon_slice","count": 8},
"wants": [{"item": "emerald"}]
}
]
}
}
}