fabric icon indicating copy to clipboard operation
fabric copied to clipboard

API for making a block not replaceable by water flow

Open natanfudge opened this issue 6 years ago • 2 comments

Behold! image The logic for determining of a block can be replaced by water. A block is replaced by water if: A - You can walk through it. B - The material not part of this hardcoded list of materials. C - The block is not part of this hardcoded list of blocks.

This means that it's impossible to have a block you can walk through with a custom material, without water replacing it.

I propose an API exposed in FabricMaterialBuilder that sets replaceableByWater(), with the accompanying mixins.

natanfudge avatar Dec 07 '19 21:12 natanfudge

This could become part of block settings extensions. Unsure How specifically to approach it as this seems to be for all flowable fluids,

i509VCB avatar Oct 15 '20 06:10 i509VCB

Still actual btw

maityyy avatar Nov 09 '25 11:11 maityyy