BlockPos plrpos = byPlayer.Entity.Pos.AsBlockPos; api.World.BlockAccessor.SetBlock(blockId, plrpos.DownCopy());