Interface CollisionEntry

Object representing collision shape entry with it's displaying condition.

interface CollisionEntry {
    addBox(x1: number, y1: number, z1: number, x2: number, y2: number, z2: number): CollisionEntry;
    setCondition(condition: CONDITION): CollisionEntry;
}

Methods

  • Adds new collision box to collision entry.

    Parameters

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

    Returns CollisionEntry

    Reference to itself to be used in sequential calls.

Copyright © 2024 Nernar. Copyright © 2020 #mineprogramming. Built with ❤ and TypeDoc.