Description
Relates to MC-266489.
The behavior_packs/vanilla_1.21.0/loot_tables/chests/trial_chambers/intersection_barrel.json
loot table has a loot entry with a compass. Even though compasses don't have durability, the entry has the set_damage
loot modifier on it, which does nothing, and may as well be considered invalid.
Code analysis
{
"pools": [
{
"bonus_rolls": 0,
"entries": [
{
"type": "item",
"functions": [
{
"add": false,
"count": 1,
"function": "set_count"
},
{
"add": false,
"damage": {
"max": 0.9,
"min": 0.4
},
"function": "set_damage"
},
{
"function": "enchant_randomly"
}
],
"name": "minecraft:diamond_axe",
"weight": 1
},
{
"type": "item",
"functions": [
{
"add": false,
"count": 1,
"function": "set_count"
},
{
"add": false,
"damage": {
"max": 0.8,
"min": 0.15
},
"function": "set_damage"
}
],
"name": "minecraft:diamond_pickaxe",
"weight": 1
},
{
"type": "item",
"functions": [
{
"add": false,
"count": {
"max": 3,
"min": 1
},
"function": "set_count"
}
],
"name": "minecraft:diamond",
"weight": 1
},
{
"type": "item",
"functions": [
{
"add": false,
"count": 1,
"function": "set_count"
},
{
"add": false,
"damage": {
"max": 0.8,
"min": 0.15
},
"function": "set_damage"
}
],
"name": "minecraft:compass",
"weight": 1
},
{
"type": "item",
"functions": [
{
"add": false,
"count": {
"max": 2,
"min": 1
},
"function": "set_count"
}
],
"name": "minecraft:bucket",
"weight": 1
},
{
"type": "item",
"functions": [
{
"add": false,
"count": 1,
"function": "set_count"
},
{
"add": false,
"damage": {
"max": 0.8,
"min": 0.15
},
"function": "set_damage"
}
],
"name": "minecraft:golden_axe",
"weight": 4
},
{
"type": "item",
"functions": [
{
"add": false,
"count": 1,
"function": "set_count"
},
{
"add": false,
"damage": {
"max": 0.8,
"min": 0.15
},
"function": "set_damage"
}
],
"name": "minecraft:golden_pickaxe",
"weight": 4
},
{
"type": "item",
"functions": [
{
"add": false,
"count": {
"max": 15,
"min": 5
},
"function": "set_count"
}
],
"name": "minecraft:bamboo_planks",
"weight": 10
},
{
"type": "item",
"functions": [
{
"add": false,
"count": {
"max": 10,
"min": 6
},
"function": "set_count"
}
],
"name": "minecraft:baked_potato",
"weight": 10
}
],
"rolls": {
"max": 3,
"min": 1
}
}
],
"random_sequence": "minecraft:chests/trial_chambers/intersection_barrel"
}
Linked issues
Comments 0
No comments.