Skip to main content

Core Engine

Index

Namespaces

Classes

Interfaces

Variables

Type Aliases

Enumerations

Functions

Variables

constBlockID

Object containing custom block string IDs as keys and their numeric IDs as values.

constECS_INVALID_ENTITY
since: 2.3.1b115

ECS_INVALID_ENTITY: object

constECS_TAG_OBJECT
since: 2.3.1b115

ECS_TAG_OBJECT: object

constEntityManager
since: 2.3.1b115

EntityManager: EcsEntityManager

constItemID

Object containing custom item string IDs as keys and their numeric IDs as values.

constUpdatableAPI

UpdatableAPI: typeof Updatable
That feature is obsolete

Use Updatable instead.

__config__

__config__: Config

Main mod configuration manager, settings are stored in config.json file.

__dir__

__dir__: string

Full path to the mod's directory, ends with "/".

__mod__

Mostly internal variable determined to be useful for control mod lifecycle, configuration and executables.

__modpack__
since: 2.2.1b85

Full path to current modpack (like innercore) directory.

__name__

__name__: string

Name property, generally loaded from mod.info.

__packdir__

__packdir__: string

Full path to current selected pack (like Inner Core) directory.

__version__
since: 2.2.0b75

__version__: number

Minecraft version code, for now, always 16.

Type Aliases

ArmorType

ArmorType: helmet | chestplate | leggings | boots

String types of armor to be specified when calling Item.createArmorItem.

DefaultRenderTemplate

DefaultRenderTemplate: ArmorType

Default render templates used inside of Inner Core, currently there are only default armor models.

ItemInstanceArray

ItemInstanceArray: [number, number, number, ItemExtraData?]

Array of three or four elements representing item ID, count, data and extra respectively. Uses in block drop functions.

Nullable

Nullable<T>: T | null

Most methods must return null if value is not presented.


Type parameters

  • T

Scriptable

Scriptable: {}

Flattened hieracly, extendable in declarations.


Type declaration

  • [key string]: any

TransferPolicy

Backwards compatibility.

jbyte

jbyte: number

Type used to mark Java bytes.