ResourcePackSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".targeted.ResourcePackSpell"
targeting cast argument values:
| Value | Supported |
|---|---|
entity |
true |
location |
false |
entity_from_location |
false |
Description:
A targeted spell that sends a resourcepack request to the player.
Configuration:
Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
| Option | Description | Type | Default |
|---|---|---|---|
url |
Url of the resourcepack. | String | |
hash |
Hash of the resourcepack. | String | |
required |
Whether or not the resource pack should be required to join the server. If true, the client will be disconnected from the server when it declines to use the resource pack. |
Boolean | false |
prompt |
The optional custom prompt message to be shown to the client. | Rich Text |