Class NMSExtras

java.lang.Object
com.cryptomorin.xseries.NMSExtras

public class NMSExtras
extends Object
  • Nested Class Summary

    Nested Classes 
    Modifier and Type Class Description
    static class  NMSExtras.Animation
    Order of this enum should not be changed.
  • Constructor Summary

    Constructors 
    Constructor Description
    NMSExtras()  
  • Method Summary

    Modifier and Type Method Description
    static void animation​(Collection<? extends org.bukkit.entity.Player> players, org.bukkit.entity.LivingEntity entity, NMSExtras.Animation animation)  
    static void chest​(org.bukkit.block.Block chest, boolean open)  
    static void lightning​(Collection<org.bukkit.entity.Player> players, org.bukkit.Location location, boolean sound)
    https://minecraft.gamepedia.com/Damage#Lightning_damage Lightnings deal 5 damage.
    static void lightning​(org.bukkit.entity.Player player, org.bukkit.Location location, boolean sound)  
    static void setExp​(org.bukkit.entity.Player player, float bar, int lvl, int exp)  

    Methods inherited from class java.lang.Object

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

  • Method Details

    • setExp

      public static void setExp​(org.bukkit.entity.Player player, float bar, int lvl, int exp)
    • lightning

      public static void lightning​(org.bukkit.entity.Player player, org.bukkit.Location location, boolean sound)
    • lightning

      public static void lightning​(Collection<org.bukkit.entity.Player> players, org.bukkit.Location location, boolean sound)
      https://minecraft.gamepedia.com/Damage#Lightning_damage Lightnings deal 5 damage.
    • animation

      public static void animation​(Collection<? extends org.bukkit.entity.Player> players, org.bukkit.entity.LivingEntity entity, NMSExtras.Animation animation)
    • chest

      public static void chest​(org.bukkit.block.Block chest, boolean open)