What it adds
Lucky Block
Block
ModGPT
- Registry id
- modgpt_lucky_block_0ca9e62d:lucky_block
- Texture
- 16 × 16, drawn by ModGPT for this mod
How to craft it
8 Gold Ingot and 1 Chest on a crafting table makes 1 Lucky Block.
GGGGCGGGG
- G
- Gold Ingot × 8 minecraft:gold_ingot
- C
- Chest × 1 minecraft:chest
- Makes
- 1 Lucky Block, shaped recipe
How it works, checked in the game
ModGPT wrote these tests with the mod and ran them on a Minecraft Java 26.3 server. Each line is one check the test makes.
Every item outcome is useful
- Must drop an item
- Must match its useful reward
- Must have the intended quantity
- The reward must exist in the world
Every mob outcome is friendly
- Must successfully spawn a mob
- Must spawn its passive animal
- Spawned friendly mobs must be alive
Breaking block releases exactly one reward
- The Lucky Block must be placeable
- The Lucky Block must be breakable
- Breaking must remove the Lucky Block
- Breaking must release exactly one reward, not the Lucky Block itself
Random rewards cover both categories
- Every random roll must produce a reward
- Random items must belong to the useful item pool
- Random mobs must belong to the friendly mob pool
- Random rewards must include useful items
- Random rewards must include friendly mobs
- Repeated rolls must offer varied rewards
Build record
2 min 16 sWritten, compiled and tested
4 / 4In-game tests passed
1Screenshots from the game
modgpt_lucky_block_0ca9e62dIts own mod id: installs next to other ModGPT mods
Versions
v1 · 23 Oct 2026
Made from the prompt above.
v2 · 23 Oct 2026 · this download
“Add a small chance to drop a diamond block.” 4 of 4 in-game tests passed. Changed: LuckyBlock.java (+12 −4).
File
- File
- lucky-block-v2.jar
- Size
- 23.0 KB (23,550 bytes)
- SHA-256
- 68f0c727c12fa1e15c4fd6a9ca40c27812b5c2dc1cfb5b8b6edcf55bc834e579
- Mod id
- modgpt_lucky_block_0ca9e62d
- Needs
- Fabric Loader and Fabric API for Minecraft Java 26.3
- Install on
- Client and server