package net.shadowfacts.extrahoppers.util; import net.minecraft.block.BlockState; import net.minecraft.util.math.BlockPos; import net.minecraft.util.math.Direction; import net.minecraft.world.BlockView; import org.jetbrains.annotations.NotNull; /** * @author shadowfacts */ public interface FluidFlowControllable { @NotNull Result allowsFlow(@NotNull Direction toSide, @NotNull BlockState state, @NotNull BlockView world, @NotNull BlockPos pos); enum Result { ALLOW, DENY, DEFAULT } }