DISCLAIMER: This is a partial documentation, you will receive a complete documentation of the plugin, its features and API on purchase. Contact: @athulsib on discord for purchase
Welcome to the comprehensive documentation for Accurate Spears! This is your central hub for all plugin information, from quick-start guides to deep technical references.
New Server Owners? โ Start with the Plugin Page - Complete installation and setup guide designed for server administrators.
Looking for specific mechanics? โ Use the index below to jump to detailed sections.
-
Plugin Page for Server Owners โญ START HERE
- Complete installation guide
- All features explained for server administrators
- Configuration examples
- Player guides
- FAQ and troubleshooting
- Perfect for sharing with server owners
-
- All 7 spear variants (Wood โ Netherite)
- Complete statistics table
- Crafting recipes
- Material requirements
-
- Core spear fighting system
- Reach and collision detection
- Multi-entity hit system
- Velocity tracking
- Anti-exploit protections
- Performance optimizations
-
- Detailed attack type mechanics
- Charge attack stages (Engaged/Tired/Disengaged)
- Velocity-based damage system
- Multi-entity hits
- Attack comparison table
-
- Complete command reference
- Permission node explanations
- Tab completion guide
- Troubleshooting tips
-
Durability, Repair, and Enchanting
- How wear and repair work
- Enchantment system
- Durability consumption rates
-
- In-depth velocity calculation formulas
- Charge multiplier system
- Copper spear speed requirements
- Relative velocity mechanics
-
- File layouts and structure
- CustomModelData system
- Model/animation mapping
- Texture and pack authoring guide
-
- SpearKillEvent integration
- Developer API reference
- Event hooks and examples
- Plugin integration guide
-
Technical Differences & Implementation
- Plugin-specific implementations
- Vanilla parity details
- Technical workarounds
- Performance considerations
Start here: Plugin Page
You'll find:
- Step-by-step installation
- Configuration guides
- Player instructions
- FAQ and troubleshooting
- Permission setup examples
Relevant sections:
- Spear Types - What spears exist and how to craft them
- Attacks - How to use each attack type
- Combat Mechanics - Understanding reach and hit detection
- Commands - Available commands
Relevant sections:
- Resource Pack & Animations - Complete pack structure guide
- Spear Types - Model requirements per tier
Relevant sections:
- API & Events - Integration guide and event hooks
- Technical Differences - Implementation details
- Combat Mechanics - System architecture
- Velocity Damage - Damage calculation formulas
| Type | Activation | Damage | Reach | Durability |
|---|---|---|---|---|
| Jab | Left-click | Base + enchants | 2-4.5 blocks | 1 |
| Thrust | Right-click (tap) | Base ร 1.2 | 4.5 blocks | 2 |
| Charge | Right-click (hold) | Velocity-based | 2-4.5 blocks | 3 |
- Engaged (Stage 1): 100% damage, full knockback, dismounts
- Tired (Stage 2): 70% damage/knockback, no dismount
- Disengaged (Stage 3): 30% damage, no knockback/dismount
Wooden โ Stone โ Copper โ Iron โ Golden โ Diamond โ Netherite
Latest Features:
- โ Force cooldown system (shield-like, configurable)
- โ PrePlayerAttackEntityEvent integration (prevents jab while charging)
- โ Raycast exemptions (2-second protection after hits)
- โ Velocity tracking for all entities (players and mobs)
- โ Configurable tooltips (vanilla/detailed formats)
- โ Attack damage/speed as native item attributes
- โ Unstackable spears (unique NBT)
- โ Performance optimizations (velocity updates, raycast throttling)
- โ Debug mode toggle
- โ Boss bar feedback options
Mechanics:
- Single hit per charge (no double-hits)
- Cannot lunge while charging
- Cannot jab while charging
- Entity velocity tracking (overcomes getVelocity() limitations)
Accurate Spears features one of the most comprehensive configuration systems available.
- Force Cooldown System: Separate jab/charge cooldowns with base/min/max values, attack speed scaling multipliers
- Per-Spear Statistics: Every tier's damage, speed, durability, charge multipliers, activation delays, stage durations
- Speed Requirements: Configurable enforcement for copper spear damage/knockback requirements
- Hit Tracking: Raycast exemptions, single-hit-per-charge enforcement
- Per-Attack-Type Configuration:
- Jab Attack, Thrust Attack, Charge Start, Charge Stages 1/2/3, Charge Impact, Charge Release
- Per-Effect Control: Particle types, counts, offsets, sound types, volumes, pitches for each effect
- Global Toggles: Enable/disable all animations, particles, or sounds
- Boss Bar Indicators: Optional charge progress and damage feedback
- Tooltip Formats: Vanilla (native attributes) or detailed (full lore)
- Optional Information: Toggle display of DPS, durability, enchantability, reach, charge info, attack types
- Item Attributes: Native Minecraft attribute display (green text like vanilla weapons)
- Lunge Configuration: Momentum, exhaustion costs, hunger requirements, environment restrictions, midair bonus
- Cooldown Settings: Per-enchantment cooldown configuration
- Debug Mode: Verbose logging with velocity calculations, hit tracking, raycast information
Combat Cooldowns:
cooldown:
jab:
base_ticks: 20
min_ticks: 10
max_ticks: 30
scale_with_attack_speed: true
attack_speed_multiplier: 1.0Per-Attack Animation:
jab_attack:
particles:
sweep_attack: {type: SWEEP_ATTACK, count: 1}
crit: {type: CRIT, count: 3, offset: 0.3}
sounds:
attack_sweep: {type: ENTITY_PLAYER_ATTACK_SWEEP, volume: 1.0, pitch: 1.2}Per-Spear Stats:
types:
DIAMOND:
attack_damage: 4.0
attack_speed: 0.95
charge_damage_multiplier: 1.075
activation_delay: 0.5
stage1_duration: 3.0
# ... and moreSee Plugin Page - Configuration for complete, detailed configuration guide.
- Looking for installation? โ Plugin Page
- Understanding attack mechanics? โ Attacks
- Configuring the plugin? โ Plugin Page - Configuration section
- Integrating with other plugins? โ API & Events
- Creating resource packs? โ Resource Pack
- Understanding technical details? โ Technical Differences
If you have questions not covered in these docs:
- Check the FAQ in Plugin Page
- Review Troubleshooting sections
- Enable
debug_mode: truein config for verbose logging - Check console for error messages
All documentation is kept up-to-date with the latest plugin version. For the most current information, always refer to the documentation files in this directory.
Last Updated: v2.0-SNAPSHOT | Minecraft 1.21+ | Paper/Spigot Compatible