Closed supersimple33 closed 5 months ago
I have also made some fixes to the Oxygen Sealer so that it acts correctly. To do this I have added a tryClearSeal
method to OxygenSealerBlockEntity
for better tear down when stopping the sealer. Also, I have removed the "Disable Seal" button from the screen, I don't think it makes sense to have it as players should be using the redstone configuration to turn the sealer on/off and this keeps the logic simpler.
This PR is blocked by TeamGalacticraft/MachineLib#9, that is why builds are failing.
I have made the Oxygen Bubble Distributor work. To do this I have:
BubbleDistributorScreen
toOxygenBubbleDistributorScreen
bubbleVisible
to private which means that whensetBubbleVisible
is called I can pass that change back onto each client.oxygenRequired
to run the machine is less than 1 I now round up so that the machine properly turns off, a weird side effect is that most of the time the machine storage is left with 1 sliver of oxygenbubbleVisible
andsize
to theupdateTag
so that those values are persistent and will properly load in when the player joins the worldThere are also a number of other small changes to other oxygen systems. I am not 100% sure about the networking aspect of my impl here in terms of efficiency and multiplayer (I can't test this aspect) so please double check that part.