Alright so since this is advanced coding I can't do it but I think it would be really cool. Basically a mod that adds in Dice and Floating Dice with up to 20 sides.
Natural 1's would do something really bad like: Spawn Hordes of various Mobs, Teleport to the End or Nether, Destroy all Player Items
2-19 could have an assortment of things like: Shower of gold bars, auto woodland mansion on spot, create farmland
Natural 20's could do something really awesome: Give Diamonds or Diamond Armor, Create Golem Army
Yes this is inspired by DnD but I think it could be a really cool idea. Also the dice would be the regular pixel art for Dice (Like handheld but 2D because Minecraft textures) and the Floating Dice could kinda look like the End Dragon Crystals (The things on the spires in the End) which could spawn underground and have a one time use roll... Actually all the enchanted dice should only have one roll. Adds to the excitement.
Not sure how you could craft them... Maybe have a villager trade handheld dice? IDK but here's the idea.
Yeah I know but all of those look like Mario blocks and that just sucks. Plus I want actual survival mode mechanics rather then true random-ness that is both good and bad. I want defined definitions of the reason why I got what I got from the block... Plus I like the idea of these dice just cause they would spawn underground and could help or hinder you while mining.
The random dice that are floating in the mines? It could be used both ways. Attempt to mine it and take it with you? Rolls. Left click to use? Roll.
Like I said it's just a fun little idea I had. Maybe give them Eye of Ender type functions? (Not the teleport but the throw it and sometimes it breaks or disappears and sometimes it doesn't.) Like I said I just thought it would be cool and I saw a video called "Roll."
It looked like it could be awesome but I couldn't find their datapack for it so I put the idea here.