ShearSpell - TheComputerGeek2/MagicSpells GitHub Wiki

Source Code

spell-class: ".targeted.ShearSpell"

targeting cast argument values:

Value Supported
entity true
location false
entity_from_location false

Description:

Shears the targeted Sheep. Since 4.0 Beta 17 this spell can target any Shearable.

Configuration:

  • Since 4.0 Beta 13 these options support dynamic values through numeric or string expressions.
  • Since 4.0 Beta 17 the following options only affect Sheep.
Option Description Type Default
vanilla-sheep-shearing Since 4.0 Beta 17. If this is false, the options below define the explicit wool drop amounts and their color. Boolean false
wool-color Color of the wool. DyeColor
min-wool-drop Minimal amount of wool to drop. Integer 1
max-wool-drop Maximum amount of wool to drop. Integer 3
drop-offset Y-offset of the drop. Double 1
force-wool-color Should wool's color be forced? Boolean false
random-wool-color Should the wool's color be random. Boolean false

Example:

shear: 
    spell-class: ".targeted.ShearSpell"
    cooldown: 15
    wool-color: white