

def _send_click_block(self, pos, face=constants.FACE_TOP, cursor_pos=Vector3(8, 8, 8)):
    self.net.push_packet('PLAY>Player Block Placement', {
        'location': pos.floor().get_dict(),
        'direction': face,
        'held_item': self.inventory.active_slot.get_dict(),
        'cur_pos_x': int(cursor_pos.x),
        'cur_pos_y': int(cursor_pos.y),
        'cur_pos_z': int(cursor_pos.z),
    })

dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/helpers/interact.py InteractPlugin._send_click_block/original