Entity conditions
Check the sheep's color
Check if the sheep has a certain color before incrementing the quest.
conditions:
sheep_color: "PINK"
In this case, will check if the sheep's color is pink.
Available colors: https://hub.spigotmc.org/javadocs/spigot/org/bukkit/DyeColor.html
Check for custom villager
Check if a villager involved in the event has the specific elements.
conditions:
required_villager:
required_professions:
- BUTCHER
- ARMORER
required_types:
- DESERT
- JUNGLE
required_level: 2
In this case, the quest will be incremented only if the villager is either a BUTCHER or an ARMORER for either DESERT or JUNGLE and with a minimum level of 2.
Available professions: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Villager.Profession.html
Available types: https://hub.spigotmc.org/javadocs/bukkit/org/bukkit/entity/Villager.Type.html
Last updated