Описание
# StaffSMP Resource Pack
**The visual companion to the StaffSMP plugin.** Five hand-modeled magical staves, two projectile effects, and a Class Reroller — all bound to vanilla blaze rods via custom model data. Drop the pack in, and your blaze rods transform into wizardly arsenal.
Built for **Minecraft 1.21.4+** using the modern `assets/minecraft/items/` model-selector format. Resolution: **16×16 (vanilla)**.
---
## What's in the pack
### Five class staves
Each class in the StaffSMP plugin gets its own unique 3D model. The model switches automatically based on the staff's class — no manual model assignment needed.
| Staff | Class |
|---|---|
| **Electric Staff** | Electric Wizard |
| **Mage Staff** | Mage |
| **Monk Staff** | Monk |
| **Druid Staff** | Druid |
| **Ranger Staff** | Ranger |
### Two projectile effects
When the Mage's fireball flies or the Druid's healing ball arcs toward its target, they're rendered with custom 3D models that follow the projectile in real time — no more vanilla snowball or default fireball texture.
| Effect | Triggered by |
|---|---|
| **Fireball** | Mage right-click |
| **Heal Ball** | Druid right-click |
### Class Reroller
A unique 3D model for the **Class Reroller** craftable item — the magical artifact players use to swap classes.
---
## How it works
Each model is mapped to the vanilla `minecraft:blaze_rod` item using **`custom_model_data`** values:
| CMD | Model |
|---|---|
| 1000 | Wizard staff |
| 1001 | Mage staff |
| 1002 | Monk staff |
| 1003 | Druid staff |
| 1004 | Ranger staff |
| 1010 | Fireball effect |
| 1011 | Heal ball effect |
| 1020 | Class Reroller |
These match the values the StaffSMP plugin sets on items, so the visuals appear automatically with no manual setup.
---
## Designed for
This pack is built specifically to be used alongside the **StaffSMP plugin**. Without the plugin running, you can still preview the models via:
```
/give @s minecraft:blaze_rod[custom_model_data={floats:[1000]}]
```
(Replace `1000` with any CMD from the table above.)
---
## Installation
### Client-side
1. Download the pack
2. Drop the `.zip` into `.minecraft/resourcepacks/`
3. In-game: **Options → Resource Packs → enable StaffSMP Resource Pack**
4. Join an SMP server running the StaffSMP plugin (or use the give command above to preview)
### Server-side (recommended for SMP)
1. Host the pack on a static URL (Modrinth's own CDN works)
2. Set `resource-pack=` and `resource-pack-sha1=` in `server.properties`
3. Optionally set `require-resource-pack=true` to enforce it
---
## Compatibility
- **Minecraft 1.21.4+** required (uses the new `items/` model definition system introduced in 1.21.4)
- Declared `pack_format` 46 with `supported_formats` 46–200, so it loads cleanly on every 1.21.4+ version without version-mismatch warnings
- **Does not work on 1.21.1–1.21.3** — those versions use the legacy `overrides` system
---
## Credits
Thanks to **Yoink1975** for the idea and models.