Since FluidBuilder#defaultBlock creates a BlockBuilder, builds it, and then disposes of it. You cannot safely call this method again. The floating BlockBuilder will continue to exist. It should be cached in the builder and registered only when the fluid is registered.
Since
FluidBuilder#defaultBlock
creates aBlockBuilder
, builds it, and then disposes of it. You cannot safely call this method again. The floatingBlockBuilder
will continue to exist. It should be cached in the builder and registered only when the fluid is registered.