The MagiWand is not a single item with a fixed power; it is an output of a mathematical formula. Every item in the game is assigned a hidden Material JSON profile containing "Weights." When a player crafts a "Wand Base" with 1-8 materials, the game doesn't just look for a recipe; it sums the total weights of all materials to calculate the wand’s final identity. This allows for tons of permutations without requiring millions of unique item IDs.
Every MagiWand generates four behaviors based on the final calculated stats, triggered by specific player interactions:
- Left-Click: One ability triggers when targeting a Block, and a different one triggers when targeting an Entity.
- Right-Click: One ability triggers for Ranged/Air use, while another triggers upon Direct Interaction with an entity or block.
These "Abilities" are generated based on the materials used; no library has them.
The system supports recursive crafting. A player can place a "finished" MagiWand back into the crafting grid and add 3-5 additional materials. This triggers a recalculation, where the new materials' stats are averaged or added to the existing ones. This allows a wand to "evolve" throughout a player's journey.
- The wand uses a multi-layered rendering system where the textures are based on the materials used in crafting.
- To empower the players, the
/magiwand namecommand opens a GUI that supports full JSON name formatting.
Please sign in to leave a comment.
2 Comments