emerald_weapons.mcaddon
What's new
• cloud of sharp micro-crystals, causing minor damage over time to any entities standing within the immediate splash radius.
Chapter 3: Industrial and Gathering Tools
Beyond the field of active combat, the unique density of the emerald lattice structure translates into highly specialized harvesting tools.
• The Emerald Pickaxe: Capable of mining any material that an iron pickaxe can breach, but at a blistering mining speed modifier. Its efficiency level is set to match diamond, allowing players to strip-mine through regular stone instantly. However, its durability is deliberately restricted to 250 uses, forcing the player to choose between speed and longevity.
• The Emerald Axe: Designed with a dual-sided crescent blade, this tool chops wooden structures with an accelerated efficiency curve. Additionally, when used as a weapon, its disabling strike against shields lasts 25% longer due to the weight of the crystal head.
• The Emerald Shovel: This tool allows for the rapid excavation of soft terrain. It features a unique chance-based attribute where digging up common blocks like dirt, gravel, or sand has a minor 1% chance to uncover hidden treasures or ancient bone fragments.
• The Emerald Hoe / Mattock: A masterwork tool for agricultural expansion. Tilling soil with an emerald hoe automatically hydrates the farmland block regardless of its distance to a water source, symbolizing the life-giving, natural essence associated with the deep green coloration of the gemstone.
• The Emerald Torch / Flare: Created by infusing standard coal with pulverized emerald dust. When placed, it emits a brilliant, emerald-green luminescence. This light source does not just illuminate dark caverns; its specific magical frequency suppresses the natural spawning algorithms of hostile entities in a significantly wider radius than traditional fire torches.
Chapter 4: The Logic of Custom Function Scripting
To bring these items to life within a modern modding environment or behavior pack, creators look beyond static JSON files and dive into event-driven logic programming. For instance, the legendary 9-block knockback capability of the Emerald Mace cannot exist as a simple numerical value. It requires a dynamic conditional loop.
The application engine monitors the player's active equipment slot (query.equipment_slot_to_item). When a collision or damage event registers between a player entity and a target mob, the system executes an immediate evaluation. If the item detected in the mainhand corresponds precisely to the identifier custom_mod:emerald_mace, a script overrides the default physics engine. It applies a sudden directional velocity vector or a high-tier status effect (such as an amplified, micro-duration jump_boost or a customized /damage command with an active attacker parameter). This calculations seamlessly propels the target backward, realizing the design goal of true weapon individuality.
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include
This mod has no related projects

