- All Known Implementing Classes:
SpreadBehaviors.SimpleSpreaderBehavior
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
net.minecraft.world.level.block.state.BlockState
getStateForSpread(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos)
-
Method Details
-
getStateForSpread
net.minecraft.world.level.block.state.BlockState getStateForSpread(net.minecraft.world.level.block.state.BlockState state,
net.minecraft.world.level.Level level,
net.minecraft.core.BlockPos pos)
- Parameters:
state - previous state at this position
level - the world the state is in
pos - the current position of the block
- Returns:
- new state to place at the location