Template:Greg-API/Time

From Feed The Beast Wiki
Jump to: navigation, search
Template-info.png Documentation

Used for GregTech 6 crafting grids. It is used to decide whether to display the time taken in ticks, seconds, or minutes, depending upon the length of the operation. You will never need to use this unless you are creating a crafting grid for GregTech 6.

Parameters[edit source]

  • 1: Time in ticks.
  • 2: Time in seconds.

Output[edit source]

This template defines variables using the Variable extension so they can be used by the calling crafting grid.

  • Ticks: Time in ticks. This is used for later calculations such as total energy consumed per operation.
  • Time: Time in preferred unit.
  • TimeUnit: The preferred unit of time.