public void forceAddWater() { if (!isConnected()) { return; } MultiblockReactor reactor = getReactorController(); reactor.getCoolantContainer().addCoolant(new FluidStack(FluidRegistry.WATER, 1000)); }
@Override public void onMultiblockServerTick() { if (!isConnected()) { return; } MultiblockReactor reactor = getReactorController(); if (isInlet()) { CoolantContainer cc = reactor.getCoolantContainer(); if (cc.getCoolantAmount() < cc.getCapacity()) { reactor .getCoolantContainer() .addCoolant(new FluidStack(FluidRegistry.WATER, cc.getCapacity())); } } else { reactor.getCoolantContainer().emptyVapor(); } }