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

com

Index

Namespaces

Namespaces

zhekasmirnov

zhekasmirnov:

innercore

innercore:

api

api:

mod

mod:

recipes

recipes:

workbench

workbench:

InventoryPool

InventoryPool:

PoolEntrySet

PoolEntrySet:

constructor

  • new PoolEntrySet(): PoolEntrySet
  • new PoolEntrySet(entries: ArrayList<PoolEntry>): PoolEntrySet
  • Returns PoolEntrySet

staticclass

class: Class<PoolEntrySet>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getEntries

  • getEntries(): ArrayList<PoolEntry>
  • Returns ArrayList<PoolEntry>

getFirstEntry

  • getFirstEntry(): PoolEntry
  • Returns PoolEntry

getMajorEntrySet

  • getMajorEntrySet(): PoolEntrySet
  • Returns PoolEntrySet

getTotalCount

  • getTotalCount(): number
  • Returns number

publichashCode

  • hashCode(): number
  • Returns number

isEmpty

  • isEmpty(): boolean
  • Returns boolean

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

removeMatchingEntries

  • removeMatchingEntries(set: PoolEntrySet): void
  • Parameters

    • set: PoolEntrySet

    Returns void

spreadItems

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

PoolEntry

PoolEntry:

count

count: number

data

data: number

extra

id

id: number

slot

slot: number

getAmountOfItem

  • getAmountOfItem(amount: number): number
  • Parameters

    • amount: number

    Returns number

hasExtra

  • hasExtra(): boolean
  • Returns boolean

isMatches

  • isMatches(other: PoolEntry): boolean
  • Parameters

    • other: PoolEntry

    Returns boolean

isMatchesWithExtra

  • isMatchesWithExtra(other: PoolEntry): boolean
  • Parameters

    • other: PoolEntry

    Returns boolean

InventoryPool

InventoryPool:

constructor

  • new InventoryPool(player: number): InventoryPool
  • Parameters

    • player: number

    Returns InventoryPool

staticclass

class: Class<InventoryPool>

addPoolEntry

  • addPoolEntry(entry: PoolEntry): void
  • Parameters

    • entry: PoolEntry

    Returns void

addRecipeEntry

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getPoolEntries

  • getPoolEntries(entry: RecipeEntry): ArrayList<PoolEntry>
  • Parameters

    Returns ArrayList<PoolEntry>

getPoolEntrySet

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

pullFromInventory

  • pullFromInventory(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

ui

ui:

GuiBlockModel

GuiBlockModel:

Builder

Builder:

PrecompiledBox

PrecompiledBox:

constructor

  • new PrecompiledBox(inherit: PrecompiledBox, x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): PrecompiledBox
  • Parameters

    • inherit: PrecompiledBox
    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number

    Returns PrecompiledBox

blockData

blockData: number

blockId

blockId: number

readonlyenabledSides

enabledSides: [boolean, boolean, boolean, boolean, boolean, boolean]

textureNames

textureNames: ArrayList<Pair<string, number>>

x1

x1: number

x2

x2: number

y1

y1: number

y2

y2: number

z1

z1: number

z2

z2: number

staticclass

class: Class<PrecompiledBox>

addTexture

  • addTexture(name: string, id: number): PrecompiledBox
  • Parameters

    • name: string
    • id: number

    Returns PrecompiledBox

publicclone

  • clone(): any
  • Returns any

compile

  • compile(): Box
  • Returns Box

disableSide

  • disableSide(side: number): PrecompiledBox
  • Parameters

    • side: number

    Returns PrecompiledBox

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

inFrontOf

  • inFrontOf(b: PrecompiledBox): boolean
  • Parameters

    • b: PrecompiledBox

    Returns boolean

inside

  • inside(b: PrecompiledBox): boolean
  • Parameters

    • b: PrecompiledBox

    Returns boolean

intersects

  • intersects(b: PrecompiledBox): boolean
  • Parameters

    • b: PrecompiledBox

    Returns boolean

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

setBlock

  • setBlock(id: number, data: number): PrecompiledBox
  • Parameters

    • id: number
    • data: number

    Returns PrecompiledBox

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

Box

Box:

constructor

  • new Box(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): Box
  • new Box(shape: BlockShape): Box
  • new Box(): Box
  • new Box(name: string, id: number): Box
  • new Box(box: Box, shape: BlockShape): Box
  • Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number

    Returns Box

readonlyenabledSides

enabledSides: [boolean, boolean, boolean, boolean, boolean, boolean]

textureNames

textureNames: ArrayList<Pair<string, number>>

readonlyx1

x1: number

readonlyx2

x2: number

readonlyy1

y1: number

readonlyy2

y2: number

readonlyz1

z1: number

readonlyz2

z2: number

staticclass

class: Class<Box>

addTexture

  • addTexture(name: string, id: number): void
  • addTexture(name: Pair<string, number>): void
  • Parameters

    • name: string
    • id: number

    Returns void

addTexturePath

  • addTexturePath(tex: string): void
  • Parameters

    • tex: string

    Returns void

publicaddToMesh

  • addToMesh(mesh: RenderMesh, x: number, y: number, z: number): void
  • Parameters

    Returns void

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

genTexture

  • genTexture(resolution: number): Bitmap
  • Parameters

    • resolution: number

    Returns Bitmap

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getShape

  • getShape(): BlockShape
  • Returns BlockShape

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

setRenderAllSides

  • setRenderAllSides(renderAllSides: boolean): void
  • Parameters

    • renderAllSides: boolean

    Returns void

setShadow

  • setShadow(shadow: boolean): void
  • Parameters

    • shadow: boolean

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

Builder

Builder:

publicconstructor

  • new Builder(): Builder
  • Returns Builder

staticclass

class: Class<Builder>

add

  • add(box: PrecompiledBox): void
  • add(builder: Builder): void
  • Parameters

    • box: PrecompiledBox

    Returns void

build

  • build(resolveCollisionsAndSort: boolean): GuiBlockModel
  • Parameters

    • resolveCollisionsAndSort: boolean

    Returns GuiBlockModel

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

VanillaRenderType

VanillaRenderType:

publicconstructor

  • new VanillaRenderType(): VanillaRenderType
  • Returns VanillaRenderType

staticclass

class: Class<VanillaRenderType>

buildModelFor

  • buildModelFor(textures: string[], textureIds: number[]): GuiBlockModel
  • buildModelFor(textures: List<Pair<string, number>>): GuiBlockModel
  • Parameters

    • textures: string[]
    • textureIds: number[]

    Returns GuiBlockModel

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticgetFor

  • getFor(id: number): VanillaRenderType
  • Parameters

    • id: number

    Returns VanillaRenderType

icon

icon:

ItemModels

ItemModels:

AltasUnit

AltasUnit:

constructor

  • new AltasUnit(bmp: Bitmap, pos: number, size: number): AltasUnit
  • Parameters

    • bmp: Bitmap
    • pos: number
    • size: number

    Returns AltasUnit

readonlybitmap

bitmap: Bitmap

readonlypos

pos: number

readonlysize

size: number

staticclass

class: Class<AltasUnit>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

ModelInfo

ModelInfo:

privateconstructor

  • new ModelInfo(idKey: string): ModelInfo
  • Parameters

    • idKey: string

    Returns ModelInfo

staticclass

class: Class<ModelInfo>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

getCache

  • getCache(): Bitmap
  • Returns Bitmap

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getModel

  • getModel(): GuiBlockModel
  • Returns GuiBlockModel

getSkinName

  • getSkinName(): string
  • Returns string

publichashCode

  • hashCode(): number
  • Returns number

isCustomized

  • isCustomized(): boolean
  • Returns boolean

isSprite

  • isSprite(): boolean
  • Returns boolean

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

setShape

  • setShape(shape: BlockShape): void
  • Parameters

    • shape: BlockShape

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

writeToCache

  • writeToCache(bmp: Bitmap): void
  • Parameters

    • bmp: Bitmap

    Returns void

ItemIconSource

ItemIconSource:

privateconstructor

  • new ItemIconSource(): ItemIconSource
  • Returns ItemIconSource

staticclass

class: Class<ItemIconSource>

staticreadonlyinstance

instance: ItemIconSource

checkoutIcon

  • checkoutIcon(_name: string): Bitmap
  • Parameters

    • _name: string

    Returns Bitmap

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getIcon

  • getIcon(id: number, data: number, icon: Bitmap, enableCache: boolean): Bitmap
  • Parameters

    • id: number
    • data: number
    • icon: Bitmap
    • enableCache: boolean

    Returns Bitmap

getIconName

  • getIconName(id: number, data: number): string
  • Parameters

    • id: number
    • data: number

    Returns string

getIconPath

  • getIconPath(id: number, data: number): string
  • Parameters

    • id: number
    • data: number

    Returns string

getNullableIcon

  • getNullableIcon(id: number, data: number): Bitmap
  • Parameters

    • id: number
    • data: number

    Returns Bitmap

getScaledIcon

  • getScaledIcon(originIcon: Bitmap, id: number, data: number, size: number, glint: number): Bitmap
  • Parameters

    • originIcon: Bitmap
    • id: number
    • data: number
    • size: number
    • glint: number

    Returns Bitmap

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

registerIcon

  • registerIcon(id: number, name: string): void
  • registerIcon(id: number, data: number, name: string): void
  • registerIcon(id: number, bmp: Bitmap): void
  • registerIcon(id: number, data: number, bmp: Bitmap): void
  • Parameters

    • id: number
    • name: string

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticgenerateAllModItemModels

  • generateAllModItemModels(): void
  • Returns void

staticinit

  • init(): void
  • Returns void

staticisGlintAnimationEnabled

  • isGlintAnimationEnabled(): boolean
  • Returns boolean

ItemModels

ItemModels:

publicconstructor

  • new ItemModels(): ItemModels
  • Returns ItemModels

staticreadonlyATLAS_NAME

ATLAS_NAME: textures/entity/camera_tripod = "textures/entity/camera_tripod"

staticreadonlyATLAS_PATH

ATLAS_PATH: string

staticreadonlyCACHE_DIR

CACHE_DIR: string

staticclass

class: Class<ItemModels>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticcreateAtlas

  • createAtlas(): void
  • Returns void

staticcreateAtlasLink

  • createAtlasLink(formattedName: string, bmp: Bitmap): number
  • createAtlasLink(path: string): number
  • Parameters

    • formattedName: string
    • bmp: Bitmap

    Returns number

staticgetAtlasHeight

  • getAtlasHeight(): number
  • Returns number

staticgetAtlasUnit

  • getAtlasUnit(iconName: string): AltasUnit
  • Parameters

    • iconName: string

    Returns AltasUnit

staticgetAtlasWidth

  • getAtlasWidth(): number
  • Returns number

staticgetItemOrBlockModel

  • getItemOrBlockModel(id: number, count: number, data: number, scale: number, rX: number, rY: number, rZ: number, randomize: boolean): Renderer
  • Parameters

    • id: number
    • count: number
    • data: number
    • scale: number
    • rX: number
    • rY: number
    • rZ: number
    • randomize: boolean

    Returns Renderer

staticgetModelInfo

  • getModelInfo(idKey: string): ModelInfo
  • getModelInfo(id: number, data: number): ModelInfo
  • Parameters

    • idKey: string

    Returns ModelInfo

staticinit

  • init(): void
  • Returns void

staticprepareModelInfo

  • prepareModelInfo(idKey: string): ModelInfo
  • prepareModelInfo(idKey: string, spritePath: string): ModelInfo
  • prepareModelInfo(idKey: string, model: GuiBlockModel): ModelInfo
  • Parameters

    • idKey: string

    Returns ModelInfo

staticsetCustomUiModel

  • setCustomUiModel(id: number, data: number, model: GuiBlockModel): void
  • Parameters

    • id: number
    • data: number
    • model: GuiBlockModel

    Returns void

staticupdateBlockShape

  • updateBlockShape(id: number, data: number, shape: BlockShape): void
  • Parameters

    • id: number
    • data: number
    • shape: BlockShape

    Returns void

window

window:

UIWindowBackgroundDrawable

UIWindowBackgroundDrawable:

constructor

  • new UIWindowBackgroundDrawable(win: Window): UIWindowBackgroundDrawable
  • Parameters

    Returns UIWindowBackgroundDrawable

window

window: Window

staticclass

class: Class<UIWindowBackgroundDrawable>

addDrawing

  • Parameters

    Returns void

publicapplyTheme

  • applyTheme(param0: Theme): void
  • Parameters

    • param0: Theme

    Returns void

publiccanApplyTheme

  • canApplyTheme(): boolean
  • Returns boolean

clearAll

  • clearAll(): void
  • Returns void

publicclearColorFilter

  • clearColorFilter(): void
  • Returns void

publicclone

  • clone(): any
  • Returns any

publiccopyBounds

  • copyBounds(): Rect
  • copyBounds(param0: Rect): void
  • Returns Rect

draw

  • draw(canvas: Canvas): void
  • Parameters

    • canvas: Canvas

    Returns void

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetAlpha

  • getAlpha(): number
  • Returns number

publicgetBounds

  • getBounds(): Rect
  • Returns Rect

publicgetCallback

  • getCallback(): Callback
  • Returns Callback

publicgetChangingConfigurations

  • getChangingConfigurations(): number
  • Returns number

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publicgetColorFilter

  • getColorFilter(): ColorFilter
  • Returns ColorFilter

publicgetConstantState

  • getConstantState(): ConstantState
  • Returns ConstantState

publicgetCurrent

  • getCurrent(): Drawable
  • Returns Drawable

publicgetDirtyBounds

  • getDirtyBounds(): Rect
  • Returns Rect

publicgetHotspotBounds

  • getHotspotBounds(param0: Rect): void
  • Parameters

    • param0: Rect

    Returns void

publicgetIntrinsicHeight

  • getIntrinsicHeight(): number
  • Returns number

publicgetIntrinsicWidth

  • getIntrinsicWidth(): number
  • Returns number

publicgetLayoutDirection

  • getLayoutDirection(): number
  • Returns number

publicgetLevel

  • getLevel(): number
  • Returns number

publicgetMinimumHeight

  • getMinimumHeight(): number
  • Returns number

publicgetMinimumWidth

  • getMinimumWidth(): number
  • Returns number

getOpacity

  • getOpacity(): number

  • Returns number

publicgetOutline

  • getOutline(param0: any): void
  • Parameters

    • param0: any

    Returns void

publicgetPadding

  • getPadding(param0: Rect): boolean
  • Parameters

    • param0: Rect

    Returns boolean

publicgetState

  • getState(): Array<number>
  • Returns Array<number>

publicgetTransparentRegion

  • getTransparentRegion(): Region
  • Returns Region

publichashCode

  • hashCode(): number
  • Returns number

publicinflate

  • inflate(param0: Resources, param1: XmlPullParser, param2: AttributeSet, param3: Theme): void
  • inflate(param0: Resources, param1: XmlPullParser, param2: AttributeSet): void
  • Parameters

    • param0: Resources
    • param1: XmlPullParser
    • param2: AttributeSet
    • param3: Theme

    Returns void

publicinvalidateSelf

  • invalidateSelf(): void
  • Returns void

publicisAutoMirrored

  • isAutoMirrored(): boolean
  • Returns boolean

publicisFilterBitmap

  • isFilterBitmap(): boolean
  • Returns boolean

publicisStateful

  • isStateful(): boolean
  • Returns boolean

publicisVisible

  • isVisible(): boolean
  • Returns boolean

publicjumpToCurrentState

  • jumpToCurrentState(): void
  • Returns void

publicmutate

  • mutate(): Drawable
  • Returns Drawable

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publiconBoundsChange

  • onBoundsChange(param0: Rect): void
  • Parameters

    • param0: Rect

    Returns void

publiconLayoutDirectionChanged

  • onLayoutDirectionChanged(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publiconLevelChange

  • onLevelChange(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publiconStateChange

  • onStateChange(param0: Array<number>): boolean
  • Parameters

    • param0: Array<number>

    Returns boolean

prepareCache

  • prepareCache(): void
  • Returns void

releaseCache

  • releaseCache(): void
  • Returns void

publicscheduleSelf

  • scheduleSelf(param0: Runnable, param1: number): void
  • Parameters

    • param0: Runnable
    • param1: number

    Returns void

setAlpha

  • setAlpha(alpha: number): void
  • Parameters

    • alpha: number

    Returns void

publicsetAutoMirrored

  • setAutoMirrored(param0: boolean): void
  • Parameters

    • param0: boolean

    Returns void

setBackgroundColor

  • setBackgroundColor(color: number): void
  • Parameters

    • color: number

    Returns void

publicsetBounds

  • setBounds(param0: number, param1: number, param2: number, param3: number): void
  • setBounds(param0: Rect): void
  • Parameters

    • param0: number
    • param1: number
    • param2: number
    • param3: number

    Returns void

publicsetCallback

  • setCallback(param0: Callback): void
  • Parameters

    • param0: Callback

    Returns void

publicsetChangingConfigurations

  • setChangingConfigurations(param0: number): void
  • Parameters

    • param0: number

    Returns void

setColorFilter

  • setColorFilter(par1: number, par2: Mode): void
  • setColorFilter(filter: ColorFilter): void
  • Just for TS not to be angry.


    Parameters

    • par1: number
    • par2: Mode

    Returns void

publicsetDither

  • setDither(param0: boolean): void
  • @deprecated

    Parameters

    • param0: boolean

    Returns void

publicsetFilterBitmap

  • setFilterBitmap(param0: boolean): void
  • Parameters

    • param0: boolean

    Returns void

publicsetHotspot

  • setHotspot(param0: number, param1: number): void
  • Parameters

    • param0: number
    • param1: number

    Returns void

publicsetHotspotBounds

  • setHotspotBounds(param0: number, param1: number, param2: number, param3: number): void
  • Parameters

    • param0: number
    • param1: number
    • param2: number
    • param3: number

    Returns void

publicsetLayoutDirection

  • setLayoutDirection(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publicsetLevel

  • setLevel(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publicsetState

  • setState(param0: Array<number>): boolean
  • Parameters

    • param0: Array<number>

    Returns boolean

publicsetTint

  • setTint(param0: number): void
  • Parameters

    • param0: number

    Returns void

publicsetTintList

  • setTintList(param0: ColorStateList): void
  • Parameters

    • param0: ColorStateList

    Returns void

publicsetTintMode

  • setTintMode(param0: Mode): void
  • Parameters

    • param0: Mode

    Returns void

publicsetVisible

  • setVisible(param0: boolean, param1: boolean): boolean
  • Parameters

    • param0: boolean
    • param1: boolean

    Returns boolean

publictoString

  • toString(): string
  • Returns string

publicunscheduleSelf

  • unscheduleSelf(param0: Runnable): void
  • Parameters

    • param0: Runnable

    Returns void

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

publicstaticcreateFromPath

  • createFromPath(param0: string): Drawable
  • Parameters

    • param0: string

    Returns Drawable

publicstaticcreateFromResourceStream

  • createFromResourceStream(param0: Resources, param1: TypedValue, param2: InputStream, param3: string, param4: Options): Drawable
  • createFromResourceStream(param0: Resources, param1: TypedValue, param2: InputStream, param3: string): Drawable
  • @deprecated

    Parameters

    • param0: Resources
    • param1: TypedValue
    • param2: InputStream
    • param3: string
    • param4: Options

    Returns Drawable

publicstaticcreateFromStream

  • createFromStream(param0: InputStream, param1: string): Drawable
  • Parameters

    • param0: InputStream
    • param1: string

    Returns Drawable

publicstaticcreateFromXml

  • createFromXml(param0: Resources, param1: XmlPullParser): Drawable
  • createFromXml(param0: Resources, param1: XmlPullParser, param2: Theme): Drawable
  • Parameters

    • param0: Resources
    • param1: XmlPullParser

    Returns Drawable

publicstaticcreateFromXmlInner

  • createFromXmlInner(param0: Resources, param1: XmlPullParser, param2: AttributeSet, param3: Theme): Drawable
  • createFromXmlInner(param0: Resources, param1: XmlPullParser, param2: AttributeSet): Drawable
  • Parameters

    • param0: Resources
    • param1: XmlPullParser
    • param2: AttributeSet
    • param3: Theme

    Returns Drawable

publicstaticresolveOpacity

  • resolveOpacity(param0: number, param1: number): number
  • Parameters

    • param0: number
    • param1: number

    Returns number

UIWindowElementDrawable

UIWindowElementDrawable:

constructor

  • new UIWindowElementDrawable(win: Window): UIWindowElementDrawable
  • Parameters

    Returns UIWindowElementDrawable

isDebugEnabled

isDebugEnabled: boolean

window

window: Window

windowElements

windowElements: ArrayList<IElement>

staticclass

class: Class<UIWindowElementDrawable>

addOrRefreshElement

  • addOrRefreshElement(element: IElement): void
  • Parameters

    Returns void

publicapplyTheme

  • applyTheme(param0: Theme): void
  • Parameters

    • param0: Theme

    Returns void

publiccanApplyTheme

  • canApplyTheme(): boolean
  • Returns boolean

publicclearColorFilter

  • clearColorFilter(): void
  • Returns void

publicclone

  • clone(): any
  • Returns any

publiccopyBounds

  • copyBounds(): Rect
  • copyBounds(param0: Rect): void
  • Returns Rect

draw

  • draw(canvas: Canvas): void
  • Parameters

    • canvas: Canvas

    Returns void

drawDirty

  • drawDirty(canvas: Canvas, scale: number): void
  • Parameters

    • canvas: Canvas
    • scale: number

    Returns void

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetAlpha

  • getAlpha(): number
  • Returns number

publicgetBounds

  • getBounds(): Rect
  • Returns Rect

publicgetCallback

  • getCallback(): Callback
  • Returns Callback

publicgetChangingConfigurations

  • getChangingConfigurations(): number
  • Returns number

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publicgetColorFilter

  • getColorFilter(): ColorFilter
  • Returns ColorFilter

publicgetConstantState

  • getConstantState(): ConstantState
  • Returns ConstantState

publicgetCurrent

  • getCurrent(): Drawable
  • Returns Drawable

publicgetDirtyBounds

  • getDirtyBounds(): Rect
  • Returns Rect

publicgetHotspotBounds

  • getHotspotBounds(param0: Rect): void
  • Parameters

    • param0: Rect

    Returns void

publicgetIntrinsicHeight

  • getIntrinsicHeight(): number
  • Returns number

publicgetIntrinsicWidth

  • getIntrinsicWidth(): number
  • Returns number

publicgetLayoutDirection

  • getLayoutDirection(): number
  • Returns number

publicgetLevel

  • getLevel(): number
  • Returns number

publicgetMinimumHeight

  • getMinimumHeight(): number
  • Returns number

publicgetMinimumWidth

  • getMinimumWidth(): number
  • Returns number

getOpacity

  • getOpacity(): number

  • Returns number

publicgetOutline

  • getOutline(param0: any): void
  • Parameters

    • param0: any

    Returns void

publicgetPadding

  • getPadding(param0: Rect): boolean
  • Parameters

    • param0: Rect

    Returns boolean

publicgetState

  • getState(): Array<number>
  • Returns Array<number>

getStyleFor

  • Parameters

    Returns Style

publicgetTransparentRegion

  • getTransparentRegion(): Region
  • Returns Region

publichashCode

  • hashCode(): number
  • Returns number

publicinflate

  • inflate(param0: Resources, param1: XmlPullParser, param2: AttributeSet, param3: Theme): void
  • inflate(param0: Resources, param1: XmlPullParser, param2: AttributeSet): void
  • Parameters

    • param0: Resources
    • param1: XmlPullParser
    • param2: AttributeSet
    • param3: Theme

    Returns void

invalidateAll

  • invalidateAll(): void
  • Returns void

publicinvalidateSelf

  • invalidateSelf(): void
  • Returns void

publicisAutoMirrored

  • isAutoMirrored(): boolean
  • Returns boolean

publicisFilterBitmap

  • isFilterBitmap(): boolean
  • Returns boolean

publicisStateful

  • isStateful(): boolean
  • Returns boolean

publicisVisible

  • isVisible(): boolean
  • Returns boolean

publicjumpToCurrentState

  • jumpToCurrentState(): void
  • Returns void

publicmutate

  • mutate(): Drawable
  • Returns Drawable

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publiconBoundsChange

  • onBoundsChange(param0: Rect): void
  • Parameters

    • param0: Rect

    Returns void

publiconLayoutDirectionChanged

  • onLayoutDirectionChanged(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publiconLevelChange

  • onLevelChange(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publiconStateChange

  • onStateChange(param0: Array<number>): boolean
  • Parameters

    • param0: Array<number>

    Returns boolean

onTouchEvent

releaseAll

  • releaseAll(): void
  • Returns void

removeElement

  • Parameters

    Returns void

resetAll

  • resetAll(): void
  • Returns void

runCachePreparation

  • runCachePreparation(): void
  • Returns void

publicscheduleSelf

  • scheduleSelf(param0: Runnable, param1: number): void
  • Parameters

    • param0: Runnable
    • param1: number

    Returns void

setAlpha

  • setAlpha(alpha: number): void
  • Parameters

    • alpha: number

    Returns void

publicsetAutoMirrored

  • setAutoMirrored(param0: boolean): void
  • Parameters

    • param0: boolean

    Returns void

setBackgroundProvider

  • Parameters

    Returns void

publicsetBounds

  • setBounds(param0: number, param1: number, param2: number, param3: number): void
  • setBounds(param0: Rect): void
  • Parameters

    • param0: number
    • param1: number
    • param2: number
    • param3: number

    Returns void

publicsetCallback

  • setCallback(param0: Callback): void
  • Parameters

    • param0: Callback

    Returns void

publicsetChangingConfigurations

  • setChangingConfigurations(param0: number): void
  • Parameters

    • param0: number

    Returns void

setColorFilter

  • setColorFilter(par1: number, par2: Mode): void
  • setColorFilter(filter: ColorFilter): void
  • Just for TS not to be angry.


    Parameters

    • par1: number
    • par2: Mode

    Returns void

publicsetDither

  • setDither(param0: boolean): void
  • @deprecated

    Parameters

    • param0: boolean

    Returns void

publicsetFilterBitmap

  • setFilterBitmap(param0: boolean): void
  • Parameters

    • param0: boolean

    Returns void

publicsetHotspot

  • setHotspot(param0: number, param1: number): void
  • Parameters

    • param0: number
    • param1: number

    Returns void

publicsetHotspotBounds

  • setHotspotBounds(param0: number, param1: number, param2: number, param3: number): void
  • Parameters

    • param0: number
    • param1: number
    • param2: number
    • param3: number

    Returns void

publicsetLayoutDirection

  • setLayoutDirection(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publicsetLevel

  • setLevel(param0: number): boolean
  • Parameters

    • param0: number

    Returns boolean

publicsetState

  • setState(param0: Array<number>): boolean
  • Parameters

    • param0: Array<number>

    Returns boolean

publicsetTint

  • setTint(param0: number): void
  • Parameters

    • param0: number

    Returns void

publicsetTintList

  • setTintList(param0: ColorStateList): void
  • Parameters

    • param0: ColorStateList

    Returns void

publicsetTintMode

  • setTintMode(param0: Mode): void
  • Parameters

    • param0: Mode

    Returns void

publicsetVisible

  • setVisible(param0: boolean, param1: boolean): boolean
  • Parameters

    • param0: boolean
    • param1: boolean

    Returns boolean

setWindowStyle

  • setWindowStyle(style: Style): void
  • Parameters

    Returns void

publictoString

  • toString(): string
  • Returns string

publicunscheduleSelf

  • unscheduleSelf(param0: Runnable): void
  • Parameters

    • param0: Runnable

    Returns void

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

publicstaticcreateFromPath

  • createFromPath(param0: string): Drawable
  • Parameters

    • param0: string

    Returns Drawable

publicstaticcreateFromResourceStream

  • createFromResourceStream(param0: Resources, param1: TypedValue, param2: InputStream, param3: string, param4: Options): Drawable
  • createFromResourceStream(param0: Resources, param1: TypedValue, param2: InputStream, param3: string): Drawable
  • @deprecated

    Parameters

    • param0: Resources
    • param1: TypedValue
    • param2: InputStream
    • param3: string
    • param4: Options

    Returns Drawable

publicstaticcreateFromStream

  • createFromStream(param0: InputStream, param1: string): Drawable
  • Parameters

    • param0: InputStream
    • param1: string

    Returns Drawable

publicstaticcreateFromXml

  • createFromXml(param0: Resources, param1: XmlPullParser): Drawable
  • createFromXml(param0: Resources, param1: XmlPullParser, param2: Theme): Drawable
  • Parameters

    • param0: Resources
    • param1: XmlPullParser

    Returns Drawable

publicstaticcreateFromXmlInner

  • createFromXmlInner(param0: Resources, param1: XmlPullParser, param2: AttributeSet, param3: Theme): Drawable
  • createFromXmlInner(param0: Resources, param1: XmlPullParser, param2: AttributeSet): Drawable
  • Parameters

    • param0: Resources
    • param1: XmlPullParser
    • param2: AttributeSet
    • param3: Theme

    Returns Drawable

publicstaticresolveOpacity

  • resolveOpacity(param0: number, param1: number): number
  • Parameters

    • param0: number
    • param1: number

    Returns number

WindowParent

WindowParent:

publicconstructor

  • new WindowParent(): WindowParent
  • Returns WindowParent

staticclass

class: Class<WindowParent>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticapplyWindowInsets

  • applyWindowInsets(window: Window, insets: WindowInsets): void
  • Parameters

    • window: Window
    • insets: WindowInsets

    Returns void

staticcloseWindow

  • closeWindow(window: Window): void
  • Parameters

    Returns void

staticopenWindow

  • openWindow(window: Window): void
  • Parameters

    Returns void

staticreleaseWindowLayout

  • releaseWindowLayout(layout: View): void
  • Parameters

    • layout: View

    Returns void

WindowProvider

WindowProvider:

publicconstructor

  • new WindowProvider(): WindowProvider
  • Returns WindowProvider

staticclass

class: Class<WindowProvider>

staticreadonlyinstance

instance: WindowProvider

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

onActivityStopped

  • onActivityStopped(): void
  • Returns void

onBackPressed

  • onBackPressed(): boolean
  • Returns boolean

onWindowClosed

  • onWindowClosed(window: IWindow): void
  • Parameters

    Returns void

onWindowOpened

  • onWindowOpened(window: IWindow): void
  • Parameters

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticgetFrame

  • getFrame(): number
  • Returns number

GuiBlockModel

GuiBlockModel:

constructor

  • new GuiBlockModel(resolution: number): GuiBlockModel
  • new GuiBlockModel(): GuiBlockModel
  • new GuiBlockModel(textures: string[], ids: number[], shape: BlockShape): GuiBlockModel
  • new GuiBlockModel(textures: string[], ids: number[]): GuiBlockModel
  • Parameters

    • resolution: number

    Returns GuiBlockModel

staticclass

class: Class<GuiBlockModel>

addBox

  • addBox(box: Box): void
  • Parameters

    • box: Box

    Returns void

addToMesh

  • addToMesh(mesh: RenderMesh, x: number, y: number, z: number): void
  • Parameters

    Returns void

addToRenderModelPart

  • addToRenderModelPart(modelPart: ModelPart, x: number, y: number, z: number): void
  • @since

    2.2.0b75


    Parameters

    • modelPart: ModelPart
    • x: number
    • y: number
    • z: number

    Returns void

clear

  • clear(): void
  • @since

    2.2.1b96


    Returns void

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

genTexture

  • genTexture(): Bitmap
  • Returns Bitmap

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

setShadow

  • setShadow(shadow: boolean): void
  • Parameters

    • shadow: boolean

    Returns void

publictoString

  • toString(): string
  • Returns string

updateShape

  • updateShape(shape: BlockShape): void
  • Parameters

    • shape: BlockShape

    Returns void

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticcreateModelForBlockVariant

  • createModelForBlockVariant(variant: any): GuiBlockModel
  • Parameters

    • variant: any

    Returns GuiBlockModel

ItemModelCacheManager

ItemModelCacheManager:

publicconstructor

  • new ItemModelCacheManager(): ItemModelCacheManager
  • Returns ItemModelCacheManager

staticclass

class: Class<ItemModelCacheManager>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

getCacheGroupDirectory

  • getCacheGroupDirectory(group: string): File
  • Parameters

    • group: string

    Returns File

getCachePath

  • getCachePath(group: string, name: string): File
  • Parameters

    • group: string
    • name: string

    Returns File

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

getCurrentCacheGroup

  • getCurrentCacheGroup(): string
  • Returns string

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

setCurrentCacheGroup

  • setCurrentCacheGroup(groupName: string, lock: string): void
  • Parameters

    • groupName: string
    • lock: string

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticgetSingleton

  • getSingleton(): ItemModelCacheManager
  • Returns ItemModelCacheManager

unlimited

unlimited:

BlockShape

BlockShape:

constructor

  • new BlockShape(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): BlockShape
  • new BlockShape(): BlockShape
  • Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number

    Returns BlockShape

x1

x1: number

x2

x2: number

y1

y1: number

y2

y2: number

z1

z1: number

z2

z2: number

staticclass

class: Class<BlockShape>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

set

  • set(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): void
  • Parameters

    • x1: number
    • y1: number
    • z1: number
    • x2: number
    • y2: number
    • z2: number

    Returns void

setToBlock

  • setToBlock(id: number, data: number): void
  • Parameters

    • id: number
    • data: number

    Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

NativeRenderer

NativeRenderer:

publicconstructor

  • new NativeRenderer(): NativeRenderer
  • Returns NativeRenderer

staticclass

class: Class<NativeRenderer>

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticcreateHumanoidRenderer

  • createHumanoidRenderer(d: number): Renderer

staticcreateItemSpriteRenderer

  • createItemSpriteRenderer(id: number): Renderer

staticcreateRendererWithSkin

  • createRendererWithSkin(skin: string, d: number): Renderer
  • Parameters

    • skin: string
    • d: number

    Returns Renderer

staticgetRendererById

mod

mod:

resource

resource:

ResourcePackManager

ResourcePackManager:

constructor

  • new ResourcePackManager(): ResourcePackManager
  • Returns ResourcePackManager

resourcePackDefinition

resourcePackDefinition: string

resourcePackList

resourcePackList: string

staticreadonlyLOGGER_TAG

LOGGER_TAG: INNERCORE-RESOURCES = "INNERCORE-RESOURCES"

staticclass

class: Class<ResourcePackManager>

staticinstance

instance: ResourcePackManager

publicclone

  • clone(): any
  • Returns any

publicequals

  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

publicfinalize

  • finalize(): void
  • Returns void

publicgetClass

  • getClass(): Class<any>
  • Returns Class<any>

publichashCode

  • hashCode(): number
  • Returns number

publicnotify

  • notify(): void
  • Returns void

publicnotifyAll

  • notifyAll(): void
  • Returns void

publictoString

  • toString(): string
  • Returns string

publicwait

  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

staticgetBlockTextureName

  • getBlockTextureName(texture: string, meta: number): string
  • Parameters

    • texture: string
    • meta: number

    Returns string

staticgetItemTextureName

  • getItemTextureName(texture: string, meta: number): string
  • Parameters

    • texture: string
    • meta: number

    Returns string

staticgetSourcePath

  • getSourcePath(): string
  • Returns string

staticisValidBlockTexture

  • isValidBlockTexture(texture: string, meta: number): boolean
  • Parameters

    • texture: string
    • meta: number

    Returns boolean

staticisValidItemTexture

  • isValidItemTexture(texture: string, meta: number): boolean
  • Parameters

    • texture: string
    • meta: number

    Returns boolean

Page Options