code: public IBlockState set(World world, BlockPos pos, boolean value)
  	{
  		IBlockState state = world.getBlockState(pos);
  		world.setBlockState(pos, set(state, value));
  		return state;
  	}
docs: Sets the {@link IBlockState} in the {@link World} with the specified value.
  
  @param world the world
  @param pos the pos
  @param value the value
  @return the resulting IBlockState