Class NMSUtils

  • All Implemented Interfaces:
    INMSUtils

    public class NMSUtils
    extends java.lang.Object
    implements INMSUtils
    • Constructor Summary

      Constructors 
      Constructor Description
      NMSUtils()  
    • Method Summary

      Modifier and Type Method Description
      void damage​(org.bukkit.entity.Entity ent, org.bukkit.entity.Entity damager, float damage)  
      void playAnimation​(org.bukkit.entity.Entity ent, int animation)  
      void setGravity​(org.bukkit.entity.Entity ent, boolean bool)  
      void walkTo​(org.bukkit.entity.Entity entity, org.bukkit.Location location, java.lang.Double aggroSpeed)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NMSUtils

        public NMSUtils()
    • Method Detail

      • walkTo

        public void walkTo​(org.bukkit.entity.Entity entity,
                           org.bukkit.Location location,
                           java.lang.Double aggroSpeed)
        Specified by:
        walkTo in interface INMSUtils
      • damage

        public void damage​(org.bukkit.entity.Entity ent,
                           org.bukkit.entity.Entity damager,
                           float damage)
        Specified by:
        damage in interface INMSUtils
      • setGravity

        public void setGravity​(org.bukkit.entity.Entity ent,
                               boolean bool)
        Specified by:
        setGravity in interface INMSUtils
      • playAnimation

        public void playAnimation​(org.bukkit.entity.Entity ent,
                                  int animation)
        Specified by:
        playAnimation in interface INMSUtils