c0de 0.3.0This page in English

Diese Seite ist noch nicht übersetzt. Sie wird auf Englisch angezeigt.

PRESS_BUTTON ​

Presses a button like a player would.

A block that is not a button raises INVALID_ARGUMENT. Buttons on the sheets of the c0de dimension can't be pressed (PERMISSION_DENIED).

Parameters and results

  • position STRUCT c0de/minecraft/POSITION: where the button is

Example

c0de
CALL c0de/minecraft/PRESS_BUTTON
    PARAMETER position button ;