![]() |
VOOZH | about |
I'm testing my signature. --
.👁 Image
.Vdiu | | Contributions . 04:51, 28 September 2023 (UTC)
From testing in game, I can confirm vaults use the minecraft:chests/trial_chambers/reward loot table. I used a data pack to change the loot table to give a single stick, and the vault behaved accordingly.
I can also confirm that the heavy core appears in no loot table other than minecraft:chests/trial_chambers/reward_unique.
minecraft:chests/trial_chambers/reward loot table is as follows:
{ "type":"minecraft:chest", "pools":[ { "bonus_rolls":0.0, "entries":[ { "type":"minecraft:loot_table", "value":"minecraft:chests/trial_chambers/reward_rare", "weight":8 }, { "type":"minecraft:loot_table", "value":"minecraft:chests/trial_chambers/reward_common", "weight":2 } ], "rolls":1.0 }, { "bonus_rolls":0.0, "entries":[ { "type":"minecraft:loot_table", "value":"minecraft:chests/trial_chambers/reward_common" } ], "rolls":{ "type":"minecraft:uniform", "max":3.0, "min":1.0 } }, { "bonus_rolls":0.0, "conditions":[ { "chance":0.25, "condition":"minecraft:random_chance" } ], "entries":[ { "type":"minecraft:loot_table", "value":"minecraft:chests/trial_chambers/reward_unique" } ], "rolls":1.0 } ], "random_sequence":"minecraft:chests/trial_chambers/reward" }
The most important part here is the pool down the bottom, which has a 0.25 (1⁄4) chance to roll minecraft:chests/trial_chambers/reward_unique.
Now, going into minecraft:chests/trial_chambers/reward_unique, we have:
{ "type":"minecraft:chest", "pools":[ { "bonus_rolls":0.0, "entries":[ { "type":"minecraft:item", "name":"minecraft:enchanted_golden_apple", "weight":3 }, { "type":"minecraft:item", "name":"minecraft:bolt_armor_trim_smithing_template", "weight":3 }, { "type":"minecraft:item", "name":"minecraft:flow_armor_trim_smithing_template", "weight":3 }, { "type":"minecraft:item", "name":"minecraft:flow_banner_pattern" }, { "type":"minecraft:item", "name":"minecraft:guster_banner_pattern" }, { "type":"minecraft:item", "name":"minecraft:heavy_core" } ], "rolls":1.0 } ], "random_sequence":"minecraft:chests/trial_chambers/reward_unique" }
The total weight here is 3 + 3 + 3 + 1 + 1 + 1 = 12, and since the heavy core only has a weight of 1, the resulting chance is 1⁄12. Multiplying 1⁄4 by 1⁄12 gives 1⁄48, or 2.08333..%.
I should note that kingBdogz may have easily misremembered or made a mistake as the game's own loot tables seem to testify otherwise, though 2.083% is not too far from 2.225%. – ZacNVR (talk) 02:06, 24 March 2024 (UTC)
I noticed your signature uses a non-substituted template (User:Vdiu/Signature) and is more than 250 bytes, both violating MCW:SIGN. Sorry to bother you, -~- Nerdyguy2000 Talk Edits 03:42, 22 November 2024 (UTC)