DisguiseSpell - TheComputerGeek2/MagicSpells GitHub Wiki
spell-class: ".buff.ext.DisguiseSpell"
This spell can be cast by/on all living entities.
This spell disguises the entity disguise as another entity. This spell requires Lib's Disguises which also requires ProtocolLib (PacketEvents
since 4.0 Beta 16
).
The buff spell doesn't have Uses.
Important
This format may be used in 4.0 Beta 13 as well, but it has been marked for removal.
Option | Description | Default |
---|---|---|
player-name |
Player name if the disguise entity is a player. | |
skin-name |
Skin name if the disguise entity is a player. | player-name |
data |
Data used for disguises. | 0 |
burning |
Should the disguised entity burn? | false |
glowing |
Should the disguised entity glow? | false |
disguise |
Entity Data config section. |
Disguise:
spell-class: ".buff.ext.DisguiseSpell"
name: "Disguise"
toggle: true
disguise:
entity: tropical_fish
type: clayfish
color: red
pattern-color: blue
Important
The following format was added in 4.0 Beta 13. The previous may still be used, but it is marked for removal.
Option | Description |
---|---|
disguise |
Disguise command arguments (Find out the appropriate options for a mob with /dhelp <entityType> ). Supports dynamic values through string expressions. |
Disguise:
spell-class: ".buff.ext.DisguiseSpell"
name: "Disguise"
toggle: true
disguise: "Tropical_Fish setPattern CLAYFISH setPatternColor BLUE setBodyColor RED"