Перейти к основному содержанию

Core Engine

Index

Namespaces

Classes

Interfaces

Variables

Type Aliases

Enumerations

Functions

Variables

constBlockID

BlockID: {}

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


Type declaration

  • [key string]: number

constECS_INVALID_ENTITY

ECS_INVALID_ENTITY: object
@since

2.3.1b115

constECS_TAG_OBJECT

ECS_TAG_OBJECT: object
@since

2.3.1b115

constEntityManager

EntityManager: EcsEntityManager
@since

2.3.1b115

constItemID

ItemID: {}

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


Type declaration

  • [key string]: number

constUpdatableAPI

UpdatableAPI: typeof Updatable
@deprecated

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__

Full path to current modpack (like innercore) directory.

@since

2.2.1b85

__name__

__name__: string

Name property, generally loaded from mod.info.

__packdir__

__packdir__: string

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

__version__

__version__: number

Minecraft version code, for now, always 16.

@since

2.2.0b75

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.