8 ‐ Scrubber Hatch - Alecsioo/MMCE-Addons GitHub Wiki

Scrubber Hatch Details

Overview

Scrubber hatches work similarly to radiation hatches, but with the following key differences:

  • The chunk radiation buffer and level are set to 0.
  • No requirements are checked before crafting the scrubber hatch (the recipe will always run regardless of the amount of radiation in the chunk).

JSON Configuration Example

Here is an example of the JSON configuration for a scrubber hatch:

{
    "type": "modularmachineryaddons:scrubber",
    "io-type": "input",
    "chunkRange": 3
}

Explanation:

  • type: Defines the type of the hatch as scrubber.
  • io-type: Specifies the input/output type, for this hatch it must be input.
  • chunkRange: Defines the range of chunks the scrubber will affect. In this case, it affects chunks in a range of 3.

ZS Integration

Information on how to add requirements through ZenScript can be found here

Limitations

Due to some limitations, it was not possible to fully replicate the behavior of NuclearCraft (NC) scrubbers. For this reason, the scrubber hatch will always clean up radiation, but it may sometimes not be fast enough to prevent lethal radiation levels from affecting the player.

Key Points:

  • The hatch works for vanilla NC radiation amounts.
  • If the scrubber is dealing with large amounts of radiation (millions per tick), it might not be fast enough to keep the player safe, potentially causing radiation to harm the player for a short time window.