

def click_block(self, pos, look_at_block=True, swing=True, **kwargs):
    '\n        Click on a block.\n        Examples: push button, open window, make redstone ore glow\n\n        Args:\n            face (int): side of the block on which the block is placed on\n            cursor_pos (Vector3): where to click inside the block,\n                each dimension 0-15\n        '
    pos = Vector3(pos)
    if (swing and self.auto_look):
        self.look_at((pos.floor() + Vector3(0.5, 0.5, 0.5)))
    self._send_click_block(pos, **kwargs)
    if (swing and self.auto_swing):
        self.swing_arm()

dataset/ETHPy150Open SpockBotMC/SpockBot/spockbot/plugins/helpers/interact.py InteractPlugin.click_block/VarMisuse@34/150 `look_at_block`->`swing`