Radiation (Mekanism)

Use the radiation or radiation per tick requirements in a CT recipe

This requirement requires Custom Machinery Mekanism to be installed.

Use one of these methods to add a radiation requirement to the recipe.

.requireRadiation(amount)
.requireRadiation(amount, radius)

.requireRadiationPerTick(amount)
.requireRadiationPerTick(amount, radius)

.emitRadiation(amount)
.emitRadiationPerTick(amount)
  • The amount param must be a positive decimal value. (in Sv).

  • The radius param must be a positive integer value (in blocks).

Example

The following recipe will absorb 1 mSv each tick while running :

<recipetype:custommachinery:custom_machine>.create("custommachinery:boiler", 20)
.requireRadiationPerTick(0.001)
.build();