Dragon's Egg(S)
Mod Overview
This modification solves a simple but useful task: after each defeated Ender Dragon, you guaranteed to receive a dragon egg. While alternative mods with similar functionality exist, their key drawback is the lack of a numbering system for convenient egg tracking. My mod addresses this omission by adding sequential numbers to each egg.
Core Features
Customizable Game Rules
The system offers two configurable parameters via game rules:
-
maxEggsGeneration - determines the maximum number of eggs that can be obtained. Default value is 1, minimum - 0, maximum - 1,048,575.
-
continueWhenMax - a boolean parameter (default false). When enabled, the system continues generating dragon eggs even after reaching the maximum limit. In this case, the "generation" property of the egg block remains at the maximum maxEggsGeneration value, but the counter continues to increment. With the option disabled, generation stops when the counter reaches the maximum.

Mechanical Features
Important to note: a dragon egg obtained from the creative inventory has an initial "generation" state value of 0.

Compatibility
The mod conflicts with Infinite Dragon Eggs. We recommend using only one of these mods simultaneously.
Technical Recommendations
If you encounter issues running the mod, set the client memory allocation to 2048 MB.