Chaos Effect: Lottery - yeelp/MCCE GitHub Wiki

Lottery is a Triggered Chaos Effect. It lasts anywhere from 3000 to 5000 ticks and can be triggered only once.

Effects

Lottery is triggered when the player breaks a block with a pickaxe that has the mineable/pickaxe tag. When triggered, Lottery will, in addition to normal block drops, if any, drop additional items, pulling from a weighted table. The chances of getting any item are shown below:

Item % Chance
Dried Kelp Block 25%
Nether Quartz (Item) 15.5%
Polished Granite 12%
Heart of the Sea 11%
Ender Pearl 10%
Emerald 7%
Netherite Block 6.5%
Diamond 5%
Obsidian 5%
Blaze Powder 1%
Fox Spawn Egg 1%
Bedrock 0.5%
Reinforced Deepslate 0.5%

Only the listed items will drop from Lottery, and only one item type will drop. The amount of items dropped is a random amount from a single item (1) to a full stack (64). The item is dropped with a higher velocity then regular block drops, with a lateral velocity contained in the range (-e/10, e/10), and vertical velocity contained in the range (0, e/10), where e is Euler's constant.

Applicability

Lottery is always applicable unless Unbreakable is active. If it is, then Lottery is only applicable is Unbreakable has no triggers remaining.

Exclusivity

Lottery is not mutually exclusive with any Chaos Effect.

History

Version Notes
1.0 Introduced
1.2 If Unbreakable is active, Lottery is only applicable if it has no triggers remaining