Interface Platform

Platform is an abstraction of Minecraft(©) API, it hide the implementation details, bringing clean APIs to NC and other things rely on platform.

Platform have two kinds of API, use() and runtime API.

The use API is written as following:

  • platform.use(nc)
    • nc: a NC application.
    • return value: undefinded.
  • platform.createRuntime(id)
    • id: a number.
    • return value: a Runtime.
Last Updated: 10/3/2021, 12:13:47 PM
Contributors: dzx-dzx