Chaos Effect: Loot Box - yeelp/MCCE GitHub Wiki

Loot Box is an Instant Chaos Effect.

Effects

When applied, Loot Box will give the player either a Vault with the name Loot Box or a Trial Key with the name Loot Box Key (50% chance for either one). The Loot Box Key can be used to open the Loot Box. Thus, to open a Loot Box, a player would need this effect to activate at least twice and give the vault on one activation and trial key on the other.

The Loot Box has it's own loot table and gives 2-5 of the following options when opened:

Item Stack Size % Chance
Blaze Rod 1 2.5%
End Portal Frame 1-3 5%
Parrot Spawn Egg 1-24 11.25%
Bedrock 1-2 8.75%
Diamond 2-3 6.25%
Orange Bundle [1] 1 2.5%
Potion of Regeneration 1 3.75%
Nether Star 4-15 6.25%
Diamond Pickaxe [2] 1 1.25%
Suspicious Stew [3] 1 10%
Chorus Fruit 13-45 12.5%
Mace [4] 1 2.5%
Elytra 1 3.75%
Golden Apple 1-4 5%
Coarse Dirt [5] 1-63 13.75%
SuperFish! [6] 1 2.5%
Cookie [7] 1 2.5%

[1] - The Orange Bundle will always have one of each of the following items inside in the following order: Ender Pearl, Crafting Table, Tall Grass, Enchanted Golden Apple, Dried Kelp Block, Blaze Power, Honey Bottle, Waxed Exposed Cut Copper Stairs, Bread.

[2] - The Diamond Pickaxe will be named "Yeelp's Void Miner" and be randomly enchanted at level 50.

[3] - The Suspicious Stew will have a random effect of the lowest potion strength from the following table with equal probability:

Effect Minimum Duration (ticks) Maximum Duration (ticks)
Saturation 6 12
Instant Damage 1 3
Resistance 15 30
Levitation 7 10
Hunger 40 60
Bad Omen 100 120
Conduit Power 20 70
Hero of the Village 100 120
Strength 7 20

[4] - The Mace will be randomly enchanted at level 25.

[5] - The Coarse Dirt will have the enchantment glint despite not having any enchantments and will have the name "Shiny Dirt".

[6] - This is the same item that the player gets from the SuperFish! effect. Despite looking the same as the item given by that effect, the SuperFish! obtained from the Loot Box and the SuperFish! obtained from the Chaos Effect are not stackable together.

[7] - This is the same item that the player gets from the Cookie Cutter effect. Despite this, the Cookie obtained from the Loot Box and the one obtained from the Chaos Effect are not stackable together.

Applicability

Loot Box is only applicable if the player has an open slot in their inventory.

Exclusivity

Loot Box is not mutually exclusive with any Chaos Effect.

History

Version Notes
1.2 Introduced