forked from nisovin/MagicSpells
-
Notifications
You must be signed in to change notification settings - Fork 70
ResourcePackSpell
JasperLorelai edited this page May 19, 2024
·
8 revisions
spell-class: ".targeted.ResourcePackSpell"
Value | Supported |
---|---|
entity |
true |
location |
false |
entity_from_location |
false |
A targeted spell that sends a resourcepack request to the player.
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 |