ICTool
Index
Functions
addRecipe
Parameters
result: ItemInstance
data: { data: number; id: number }[]
tool: number
Returns void
dischargeItem
Parameters
item: ItemInstance
consume: number
player: number
Returns boolean
getWrenchData
Parameters
id: number
Returns IWrech
isUseableWrench
Parameters
item: ItemInstance
optionaldamage: number
Returns boolean
isWrench
Parameters
id: number
Returns boolean
registerElectricHoe
Parameters
stringID: string
Returns void
registerElectricTreetap
Parameters
stringID: string
Returns void
registerWrench
Parameters
id: number
properties: IWrech
Returns void
rotateMachine
Parameters
tileEntity: TileEntity
side: number
item: ItemStack
player: number
Returns void
setOnHandSound
Parameters
itemID: number
idleSound: string
optionalstopSound: string
Returns void
useElectricItem
Parameters
item: ItemInstance
consume: number
player: number
Returns boolean
useWrench
Parameters
item: ItemStack
damage: number
player: number
Returns void