Internal
Something like java.lang.Class.getName().
Displays android.widget.Toast with specified message. If this function is called more then once, messages are stacked and displayed together.
Function that must be written in launcher.js to enable multiplayer configuration. Client mods must not affect on the world. They will not be taken into account in mod synchronization during the connection.
If true
, mod is only client.
Optional
name?: stringUnique readable network name of the mod.
Value "auto"
here means determine mod.info
property, which is preferred in most cases.
Optional
version?: stringMod version.
Value "auto"
here means determine mod.info
property, which is preferred in most cases.
Exports object from library using specified name.
object name to be used when calling IMPORT. If the name contains a column (":"), the number after column is used to specify version of the library this export corresponds to. To provide backward compatibility, library authors can use multiple exports for different library versions inside a single file. This mechanism currently works only for library dependencies
object to be exported with specified name, can be of any valid js/java type
Minecraft version information in several variants.
Array containing three version numbers.
Version number.
String version representation, three dot-separated numbers.
Imports library dependency. Libraries should be stored in the "libraryDir" directory, specified in your build.config. You can either import the whole library or single function/value using value parameter.
library name specified in the library's EXPORT declaration
Optional
value: stringname of the function or value you wish to import, or "*" to import the whole library. Defaults to importing the whole library
Library declaration, specifies all the information about library it is called from. Cannot be called from user code.
object containing all the required information about the library
API name.
Optional
dependencies?: string[]List of names of libraries that should be loaded before the current library is loaded. Every entry should be either just a library name or library name and version separated by a column (":").
Library name, used to avoid conflicts when several mods have the same library installed.
If set to true
, the context of the library is shared between mods to
allow for better integration.
Library version, used to load the latest library version if different mods have different library version installed.
Runs custom source in the specified context by it's name. Define custom sources using "sourceType": "custom" for the source in your build.config.
path to the executable; can be built the way built-in source types are built
Optional
scope: objectadditional scope to be added to the current context
Runs specified function in the client thread. Same as runOnMainThread, but for the client side.
function to be run in the client thread
String types of armor to be specified when calling Item.createArmorItem.
Default render templates used inside of Inner Core, currently there are only default armor models.
Array of three or four elements representing item ID, count, data and extra respectively. Uses in block drop functions.
Type used to mark Java bytes.
Most methods must return null
if value is not presented.
Flattened hieracly, extendable in declarations.
Backwards compatibility.
Main mod configuration manager, settings are stored in config.json file.
Full path to the mod's directory, ends with "/".
Mostly internal variable determined to be useful for control mod lifecycle, configuration and executables.
Full path to current modpack (like innercore) directory.
Name property, generally loaded from mod.info.
Full path to current selected pack (like Inner Core) directory.
Minecraft version code, for now, always 16
.
Const
BlockIDObject containing custom block string IDs as keys and their numeric IDs as values.
Const
ECS_Const
ECS_Const
EntityConst
ItemIDObject containing custom item string IDs as keys and their numeric IDs as values.
Const
UpdatableAPIUse Updatable instead.
Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.
Method provided to log inherited Rhino class type and determine which instance is used.