Class PacifyMob

All Implemented Interfaces:
org.bukkit.event.Listener

public class PacifyMob extends SimpleTrait
Makes a certain mob(s) unable to aggro on players.
  • Field Details

  • Constructor Details

    • PacifyMob

      public PacifyMob(String name, String description, org.bukkit.ChatColor color, org.bukkit.Material material, Trait.Type type, org.bukkit.entity.EntityType[] types)
    • PacifyMob

      public PacifyMob(ItemIcon icon, Trait.Type type, org.json.simple.JSONArray types)
  • Method Details

    • preventAggro

      public void preventAggro(org.bukkit.event.entity.EntityTargetEvent event)