See the following link for documentation on how to create a Lucky Block Addon:
https://docs.creoii.dev/lucky-block
Currently this mod is Fabric-only, but a NeoForge version is in progress!
Overview
The Modern Lucky Block mod provides the ability to create Lucky Block addons using only Datapacks for Minecraft 1.20.6+.
Why?
The original Lucky Block mod has not been updated in a year, and is only available for Minecraft 1.20.2 and below. Furthermore, it does not take advantage of the modern tools that Minecraft provides, namely the Datapack system.