-
Bug
-
Resolution: Unresolved
-
None
-
1.21.60.27 Preview, 1.21.60.23 Preview, 1.21.60.21 Preview, 1.21.50.30 Preview, 1.21.50.26 Preview, 1.21.50.25 Preview, 1.21.50.24 Preview, 1.21.50.22 Preview, 1.21.50.20 Preview, 1.21.40.25 Preview, 1.21.40.22 Preview, 1.21.40.21 Preview, 1.21.40.20 Preview, 1.21.20.24 Preview, 1.21.20.23 Preview, 1.21.20.22 Preview, 1.21.20.21 Preview, 1.21.10.21 Preview, 1.21.0.22 Preview, 1.21.0.21 Preview, 1.21.0.20 Preview, 1.20.80.24 Preview, 1.20.80.23 Preview, 1.20.70.24 Preview, 1.20.70.22 Preview, 1.20.60.20 Preview, 1.20.60.21 Preview, 1.20.60.22 Preview, 1.20.60.23 Preview, 1.20.60.26 Preview, 1.20.60.25 Preview, 1.20.60.24 Preview, 1.20.70.20 Preview, 1.20.70.21 Preview, 1.20.61 Switch, 1.20.60, 1.20.62 Hotfix, 1.20.70.25 Preview, 1.20.80.20 Preview, 1.20.80.21 Preview, 1.20.70, 1.20.71 Hotfix, 1.20.80.22 Preview, 1.20.72 Hotfix, 1.20.73 Hotfix, 1.21.0.23 Preview, 1.20.80, 1.21.0.25 Preview, 1.21.0.24 Preview, 1.21.10.20 Preview, 1.21.0.26 Preview, 1.20.81 Hotfix, 1.21.10.24 Preview, 1.21.10.23 Preview, 1.21.0, 1.21.1 Hotfix, 1.21.30.22 Preview, 1.21.30.21 Preview, 1.21.3 Hotfix (PS4), 1.21.2 Hotfix, 1.21.20, 1.21.30.23 Preview, 1.21.21 Hotfix, 1.21.30.25 Preview, 1.21.22 Hotfix, 1.21.23 Hotfix, 1.21.30, 1.21.40.23 Preview, 1.21.31 Hotfix, 1.21.40, 1.21.41 Hotfix, 1.21.43 Hotfix, 1.21.50.28 Preview, 1.21.50.29 Preview, 1.21.44 Hotfix, 1.21.50, 1.21.60.25 Preview, 1.21.60.24 Preview, 1.21.60.28 Preview, 1.21.51 Hotfix
-
Confirmed
-
Multiple
-
1144587
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"
}
- relates to
-
MC-266489 Unnecessary set_damage modifier for compass loot in trial chambers
- Open