Interface ExtendedChunk
public interface ExtendedChunk
-
Method Summary
Modifier and TypeMethodDescriptionnet.minecraft.world.level.block.state.BlockState
setBlockState
(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int flag, boolean update) LevelChunk.setBlockState(BlockPos, BlockState, int)
with the extraSideEffect.UPDATE
flag.
-
Method Details
-
setBlockState
@Nullable net.minecraft.world.level.block.state.BlockState setBlockState(net.minecraft.core.BlockPos pos, net.minecraft.world.level.block.state.BlockState state, int flag, boolean update) LevelChunk.setBlockState(BlockPos, BlockState, int)
with the extraSideEffect.UPDATE
flag.- Parameters:
pos
- the position to setstate
- the state to setflag
- I honestly have no idea and can't be bothered to investigate, we passfalse
update
- the update flag, see side-effect for details- Returns:
- the old block state, or
null
if unchanged
-