MachineRegistry
Index
Functions
createInventoryWindow
Parameters
header: string
uiDescriptor: { drawing?: DrawingSet; elements: ElementSet }
optionaldrawing: DrawingSet
elements: ElementSet
Returns UI.StandartWindow
createStorageInterface
Parameters
blockID: number
descriptor: StorageDescriptor
Returns void
fillTankOnClick
Parameters
tank: LiquidTank
item: ItemInstance
playerUid: number
Returns boolean
getMachineDrop
Parameters
blockID: number
level: number
Returns ItemInstanceArray[]
isMachine
Parameters
id: number
Returns any
isValidEUItem
Parameters
id: number
count: number
data: number
container: Container
Returns boolean
isValidEUStorage
Parameters
id: number
count: number
data: number
container: Container
Returns boolean
registerElectricMachine
Parameters
id: number
Prototype: TileEntityPrototype
Returns void
registerGenerator
Parameters
id: number
Prototype: TileEntityPrototype
Returns void
registerPrototype
Parameters
id: number
Prototype: TileEntityPrototype
Returns void
setMachineDrop
Parameters
blockID: string | number
optionaldropID: number
Returns void
setStoragePlaceFunction
Parameters
blockID: string | number
optionalhasVerticalRotation: boolean
Returns void
updateGuiHeader
Parameters
gui: any
text: string
Returns void