Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • Object
    • Box

Index

Constructors

  • 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

Properties

enabledSides: [boolean, boolean, boolean, boolean, boolean, boolean]
textureNames: ArrayList<Pair<string, number>>
x1: number
x2: number
y1: number
y2: number
z1: number
z2: number
class: Class<Box>

Methods

  • addTexture(name: string, id: number): void
  • addTexture(name: Pair<string, number>): void
  • addTexturePath(tex: string): void
  • clone(): any
  • equals(param0: any): boolean
  • Parameters

    • param0: any

    Returns boolean

  • finalize(): void
  • genTexture(resolution: number): Bitmap
  • getClass(): Class<any>
  • hashCode(): number
  • notify(): void
  • notifyAll(): void
  • setRenderAllSides(renderAllSides: boolean): void
  • setShadow(shadow: boolean): void
  • toString(): string
  • wait(): void
  • wait(param0: number): void
  • wait(param0: number, param1: number): void
  • Returns void

  • Parameters

    • param0: number

    Returns void

  • Parameters

    • param0: number
    • param1: number

    Returns void

Generated using TypeDoc