Interface ExtendedChunk


public interface ExtendedChunk
  • Method Summary

    Modifier and Type
    Method
    Description
    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 extra SideEffect.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 extra SideEffect.UPDATE flag.
      Parameters:
      pos - the position to set
      state - the state to set
      flag - I honestly have no idea and can't be bothered to investigate, we pass false
      update - the update flag, see side-effect for details
      Returns:
      the old block state, or null if unchanged