Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Block

Implements

Index

Constructors

constructor

  • new Block(id: string, type: number, texture: string | string[], options: object, hardness: number, miningtime: number, tool: string | string[]): Block
  • Parameters

    • id: string
    • type: number
    • texture: string | string[]
    • options: object
    • hardness: number
    • miningtime: number
    • tool: string | string[]

    Returns Block

Properties

hardness

hardness: number

id

id: string

miningtime

miningtime: number

name

name: string

numId

numId: number = -1

options

options: object

registry

registry: Registry = null

texture

texture: string | Array<string>

tool

tool: string | string[]

type

type: number

unbreakable

unbreakable: boolean

Methods

_finalize

getItemStack

getObject

  • getObject(): object

Generated using TypeDoc