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

SlotData

Index

Properties

optionalinput

input?: boolean

optionalmaxStack

maxStack?: number

optionaloutput

output?: boolean

optionalside

side?: number | horizontal | verctical | down | up

Methods

optionalcanOutput

  • canOutput(item: ItemInstance, side: number, tileEntity: TileEntity): boolean
  • Parameters

    • item: ItemInstance
    • side: number
    • tileEntity: TileEntity

    Returns boolean

optionalisValid

  • isValid(item: ItemInstance, side: number, tileEntity: TileEntity): boolean
  • Parameters

    • item: ItemInstance
    • side: number
    • tileEntity: TileEntity

    Returns boolean