Inspired by the exisiting but outdated peek-a-boo mod: https://www.spigotmc.org/threads/peek-a-boo.400476/
Breaking blocks mostly spawns a random mob, but there exists a small chance for placing another random block , or some other event (xp, primed tnt, etc).
Breaking any block gives additional 20xp.
--------------------------------------------------------
Extra Details:
Mobs are spawned with the 'Natural' tag, which means zombies will have a chance to be a baby, or spiders will have a chance to be with potion effects, etc. Slime & Magma cube sizes are random based on natural spawning.
--------------------------------------------------------
//Probabilities may change for balance purposes soon
|Breaking Block| weight tree (the more weight, the more probable. Most of the time it is totaled to a multiple of 100 for easy reading):
1) |Mob Spawn|: 90
2) |Block Placed|: 5
3) |Event|: 5
--
|Mob Spawn| weight tree:
1) |Passive Mobs|: 34 * 5
2) |Neutral Mobs|: (32 * 5) + 4
3) |Hostile Mobs|: 32 * 5
4) |Elite Hostile Mobs|: 1 * 5
5) |Boss Hostile Mobs|: 1
|Passive Mobs| weight tree: //All have equal probabilities
--> Allay, Armor Stand, Axolotl, Bat, Boat, Camel, Cat, Chicken, Cod, Cow, Donkey, Fox, Frog, Glow Squid, Horse, Minecart, Mooshroom, Mule, Ocelot, Parrot, Pig, Pufferfish, Rabbit, Salmon, Sheep, Sniffer, Snow Golem, Squid, Strider, Tadpole, Tropical Fish, Turtle, Villager, Wandering Villager
|Neutral Mobs| weight tree: //All have equal probabilities
--> Bee, Dolphin, Enderman, Goat, Iron Golem (attacks you if attacked), Llama, Minecart w/ TNT, Panda, Piglin, Polar Bear, Wolf, Zombified Piglin
|Hostile Mobs| weight tree: //All have equal probabilities. Mobs enclosed in "|x|" have subcategories.
--> Blaze, Cave Spider, |Creeper|, Drowned, Endermite, Ghast, Guardian, Hoglin, Husk, Magma Cube, Phantom, Pillager, Shulker, Silverfish, |Skeleton|, Slime, |Spider|, Stray, Vex, Witch, Wither Skeleton, Zoglin, |Zombie|.
|Elite Hostile Mobs| weight tree: //
--> Elder Guardian, Evoker, Illusioner, Piglin Brute, Ravager, Vindicator
|Boss Hostile Mobs| weight tree: //
--> Warden, Wither
|Creeper| weight tree:
1) Normal: 95
2) Charged: 5
|Skeleton| weight tree:
1) Normal: 85
2) Player Mirrored: 6 (copies player armor)
3) Punch: 6 (bow w/ punch 4)
4) Speed: 3 (super fast -- attribute: 2d multiply_total)
|Spider| weight tree:
1) Normal: 95
2) w/ Beneficial Potion Effect (lvl1 potion effect)
|Zombie| weight tree:
1) Normal: 85
2) Player Mirrored: 5 (copies player armor & hand held items)
3) Knockback: 5 (w/ gold shovel knockback 6)
4) Speed: 5 (super fast -- attribute: 2d multiply_total)
--
|Block Placed| weight tree:
1) |Normal|: 94
2) |Obstructive|: 3
3) |Treasure|: 3
|Normal| Block weight tree: //all equal
--> Any Leaves, Any Log, Any Stone, Any Dirt
|Obstructive| Block weight tree: //all equal
--> Bedrock, |Mob Spawner|, Obsidian
|Treasure| Block weight tree: //all equal
--> Anvil, Beacon, Diamond Block, Enchantment Table, Ender Chest, Gold Block
|Mob Spawner| weight tree:
1) Zombie: 25
2) Skeleton: 25
3) Spider: 20
4) Blaze: 15
5) Magma Cube: 15
--
|Event| weight tree: //all equal
--> Lightning, Lots of XP (additional 600 xp), Primed TNT,

