83 public static function new(array $actions,
int $actorRuntimeId,
int $actionType,
int $hotbarSlot,
ItemStackWrapper $itemInHand,
Vector3 $playerPosition,
Vector3 $clickPosition) :
self{
85 $result->actions = $actions;
86 $result->actorRuntimeId = $actorRuntimeId;
87 $result->actionType = $actionType;
88 $result->hotbarSlot = $hotbarSlot;
89 $result->itemInHand = $itemInHand;
90 $result->playerPosition = $playerPosition;
91 $result->clickPosition = $clickPosition;