Name | shear |
Object | EntityTag |
Input | None |
Description | Shears entities in the same way as a player can do using shears, including drops.
If the entity is not ready to be sheared, there will be no drops but the sound will still play. This mech will: - Shear a sheep - harvest a bogged - harvest a mushroom cow (note: entity data will be lost as Minecraft will remove the entity and spawn an entirely new cow instead) - derp a snowman (i.e. remove the pumpkin) Optionally, specify a sound source to change the source of the sound. Valid sound sources can be found here: https://jd.advntr.dev/api/latest/net/kyori/adventure/sound/Sound.Source.html. |
Example |
|
Group | paper |
Requires | paper |
Source | https://github.com/DenizenScript/Denizen/blob/dev/paper/src/main/java/com/denizenscript/denizen/paper/properties/PaperEntityExtensions.java#L190 |