Package net.minecraftforge.fluids
Interface FluidInteractionRegistry.FluidInteraction
- 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 performs an interaction for a source.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
interact
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.
-
Method Details
-
interact
Performs the interaction between the source and the surrounding data.- 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
-