Creates an empty resource or behavior pack with a manifest to add content during mod loading. Please use names without special characters and only with ASCII characters.
pack title to be used for folder and displayed in pack list; folder will receive "runtime_<name>" name and title in interface will be "runtime pack: <name>"
Displays dialog with given bitmap image and title " bitmap <width>x<height>".
Executes any code in the script body of a given object, the object itself becomes a local list of variables for code execution.
text to evaluate in given scope
object in which context code is executed
script name for errors, debugging, etc.
Same as UI.getContext.
It can be used to make sure that an action is performed in intended thread, e.g. sending packet to clients on server.
Same as Game.getMinecraftVersion.
Same as Game.isActionPrevented.
Same as runOnClientThread.
Same as runOnMainThread.
Instead of displaying fatal error type in dialog with a log, the specified function will be called to change this behavior.
Instead of displaying non-fatal error type in dialog with a log, the specified function will be called to change this behavior.
Instead of displaying startup error type in dialog with a log,
the specified function will be called to change this behavior.
For startup errors, only message and recent log are available,
all other data will be passed as null
.
Same as Game.simulateBackPressed.
Java java.lang.RuntimeException with specified message.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Specific methods, for the most part, are designed to work with Inner Core internals and debug various data.
Since
2.2.1b110