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

IC2Coffee

Index

Type Aliases

CofeeEffect

CofeeEffect: { amplifier: number; effectTimer: number }

Type declaration

  • amplifier: number
  • effectTimer: number

Functions

amplifyEffect

  • amplifyEffect(entity: number, potionId: number, maxAmplifier: number, extraDuration: number): number
  • Parameters

    • entity: number
    • potionId: number
    • maxAmplifier: number
    • extraDuration: number

    Returns number

craftFunction

  • craftFunction(api: WorkbenchFieldAPI, field: Slot[], result: ItemInstance, player: number): void
  • Parameters

    • api: WorkbenchFieldAPI
    • field: Slot[]
    • result: ItemInstance
    • player: number

    Returns void