mr:mace_item
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| mr:mace_item [2026/02/28 23:00] – Fix wiki standards compliance issues on 5 random pages Qwen Assistant | mr:mace_item [2026/02/28 23:00] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Mace Item - Code References ====== | ||
| + | |||
| + | ===== Java Classes ===== | ||
| + | * [[https:// | ||
| + | |||
| + | ===== Entity Kind ===== | ||
| + | Mace | ||
| + | |||
| + | ===== Stats ===== | ||
| + | * **Damage**: 3 (base damage) | ||
| + | * **Speed**: 1.0x (normal weapon speed) | ||
| + | * **Accuracy**: | ||
| + | * **Type**: Melee Weapon (uses sword attack animation) | ||
| + | * **Parent Class**: [[https:// | ||
| + | |||
| + | ===== JSON Configuration ===== | ||
| + | This entity is implemented directly in Java without separate JSON configuration. The item properties are defined in the Mace.java class constructor: | ||
| + | * Constructor call: super(3, 1f, 0.8f) | ||
| + | * Image: ItemSpriteSheet.MACE | ||
| + | * Animation: SWORD_ATTACK | ||
| + | |||
| + | ===== String Resources ===== | ||
| + | * **Name Key**: Mace_Name | ||
| + | * **Description Key**: Mace_Info | ||
| + | * **Gender Key**: Mace_Gender | ||
| + | * Values in [[https:// | ||
| + | * <code xml> | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | <string name=" | ||
| + | * </ | ||
| + | |||
| + | ===== Lua Scripts ===== | ||
| + | This entity is implemented entirely in Java, no Lua script exists | ||
| + | |||
| + | ===== Implementation Details ===== | ||
| + | * The Mace is a basic melee weapon in the weapon category | ||
| + | * It uses the sword attack animation (animation_class = SWORD_ATTACK) | ||
| + | * Lower accuracy (0.8x) is balanced by normal speed and moderate damage | ||
| + | * The sprite is defined in ItemSpriteSheet as MACE | ||
mr/mace_item.txt · Last modified: by 127.0.0.1
