Class NMSImpl

java.lang.Object
beer.devs.fastnbt.nms.NMSImpl

public class NMSImpl extends Object
  • Field Details

    • isPaper

      public static boolean isPaper
  • Constructor Details

    • NMSImpl

      public NMSImpl()
  • Method Details

    • hasClass

      public static boolean hasClass(String className)
    • isPaper

      public static boolean isPaper()
    • getField

      @Nullable public static @Nullable Field getField(Class<?> clazz, Class<?> type)
    • isSpigotMapped

      public static boolean isSpigotMapped()
      Since Paper 1.20.5 the NMS classes might not be Spigot mapped anymore. They might use the Mojang mappings.
    • instantiate

      public static <T> T instantiate(Class<T> type)