接口 FluidInteractionRegistry.FluidInteraction
- 函数接口:
- 这是一个函数接口, 因此可用作 lambda 表达式或方法引用的赋值目标。
An interface which performs an interaction for a source.
-
方法概要
修饰符和类型方法说明void
interact
(Level level, BlockPos currentPos, BlockPos relativePos, FluidState currentState) Performs the interaction between the source and the surrounding data.
-
方法详细资料
-
interact
Performs the interaction between the source and the surrounding data.- 参数:
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
-