Skip to content

Cloud chamber stops working unless its methanol tank is kept full #197

Description

@aurilisdev

A player reported that the cloud chamber accepts methanol through the GUI but only appears to operate when a pipe continuously keeps its tank full.

The fluid availability check in TileCloudChamber.tickServer() compares fluid.getFluidAmount() against CLOUD_CHAMBER_ENERGY_USAGE_PER_TICK instead of CLOUD_CHAMBER_FLUID_USAGE_PER_TICK.

With the default settings, the tank holds 100 mB, energy usage is 100 J per tick and methanol consumption is 1 mB per tick. A full chamber therefore operates for one tick, drains to 99 mB and then stops because the incorrect check still requires 100 mB. Continuous refilling masks the problem.

Change the fluid threshold to CLOUD_CHAMBER_FLUID_USAGE_PER_TICK, retaining the existing empty tank check. With sufficient power and no disabling redstone signal, the chamber should continue operating while enough methanol remains for the next tick, regardless of how it was inserted.

The incorrect comparison is present in the following branches:

  • 1.21.1, using NuclearConfig.
  • 1.20, using NuclearConstants.
  • 1.19.2, using NuclearConstants.

Verification after fixing: manually fill a powered chamber near a radiation source, with no pipe connected and no redstone signal. Confirm that it remains active below 100 mB and stops when there is insufficient methanol. Also check continuous pipe input.

The cause was verified by source inspection; gameplay reproduction remains to be tested. Default settings.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions