Title says it all, I'm able to check the material and see that the block is water, but how can I check if it's a water source?
Code (Text): BlockData blockData = location.getBlock().getBlockData() if(blockData instanceOf Levelled){ Levelled lv = (Levelled)blockData; lv.getlevel(); lv.getMaximumLevel() } With that information you can check if waterLevel == maxLevel Levelled