Package net.minecraftforge.fluids
Interface FluidInteractionRegistry.HasFluidInteraction
- Enclosing class:
 - FluidInteractionRegistry
 
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
An interface which tests whether a source fluid can interact with its
 surroundings.
- 
Method Summary
Modifier and TypeMethodDescriptionbooleantest(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Returns whether the interaction can occur. 
- 
Method Details
- 
test
Returns whether the interaction can occur.- Parameters:
 level- the level the interaction takes place incurrentPos- the position of the sourcerelativePos- a position surrounding the sourcecurrentState- the state of the fluid surrounding the source- Returns:
 trueif an interaction can occur,falseotherwise
 
 -