Interface RecipeEntry

Crafting recipe entry.

interface RecipeEntry {
    data: number;
    id: number;
    getCode(): number;
    getCodeByItem(id: number, data: number): number;
    getMask(): string;
    isMatching(slot: AbstractSlot): boolean;
    isMatching(slot: AbstractSlot): boolean;
    isMatching(entry: RecipeEntry): boolean;
}

Methods

  • Parameters

    • id: number
    • data: number

    Returns number

  • Parameters

    Returns boolean

    true if recipe entry matches the slot.

  • Parameters

    Returns boolean

    true if recipe entry matches the slot.

    2.2.1b108

  • Parameters

    Returns boolean

    true if recipe entry matches another entry.

Properties

data: number
id: number

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