Class PluginAPI


  • public class PluginAPI
    extends java.lang.Object
    • Field Detail

      • requiredList

        public java.util.ArrayList<java.lang.String> requiredList
      • logger

        public static final Logger logger
      • version

        public static java.lang.String version
    • Constructor Detail

      • PluginAPI

        public PluginAPI​(Minecraft mcIn)
    • Method Detail

      • callEvent

        public static BaseData callEvent​(java.lang.String name,
                                         BaseData data)
      • setGlobal

        public static void setGlobal​(java.lang.String name,
                                     BaseData data)
      • getGlobal

        public static BaseData getGlobal​(java.lang.String name)
      • getPluginAPI

        public static BaseData getPluginAPI()
      • logJSObj

        public static void logJSObj​(org.teavm.jso.JSObject data)
      • onGlobalUpdated

        public void onGlobalUpdated​(java.lang.String global)
      • onRequire

        public void onRequire​(java.lang.String global)
      • onUpdate

        public void onUpdate()