# Actions

## Animation Actions (Open, Idle, Fail animations)

### Linear Path

### Smooth Path

### Bind Path

### Show Entity

### Throw Entity

### Update Entity Properties

### Set Block

### Set Multiblock

### Show Model

### Play Model Animation

### Hide Model

### Play Sound

```yaml
- type: play-sound
  sound: "minecraft:ui.toast.challenge_complete"
  pitch: 1.0 # Optional
  volume: 10 # Optional
```

Arguments:

* Sound - the sound that should be played. Please use the format that is also used in /playsound command!
* Pitch - pitch of the sound
* Volume - volume of the sound (how far it can be heard)

### Conditional Actions

### Start Ticker

```yaml
- type: "start-ticker"
  id: "ticker1"
  tick-every: 1 # Every 1 tick
  repeat-limit: -1 # Limit how many times the ticker can repeat
  actions: # List of animation actions
    - type: play-sound
      sound: "minecraft:ui.toast.challenge_complete"
      pitch: 1.0 # Optional
      volume: 10 # Optional
```

Arguments:

* id - ID of the ticker
* tick-every - ticker period
* repeat-limit - limit of how many times the ticker can repeat
* actions - list of actions that are gonna be executed when the ticker ticks

### Delayed Actions

### String Deobfuscation

### Add Passenger

```yaml
- type: "add-passenger"
  seat: "entity:seatentity"
  passenger: "entity:passengerentity"
```

Arguments:

* Seat - ID of animation prop that is gonna be used as a seat
* Passenger - ID of animation prop that is gonna be added as passenger

### Remove Passenger

```yaml
 type: "remove-passenger"
  seat: "entity:seatentity"
  passenger: "entity:passengerentity"
```

Arguments:

* Seat - ID of animation prop that is used as a seat
* Passenger - ID of animation prop that is gonna be remove as passenger

## Player bound Actions (Open, Fail animations)

### Show Bossbar

### Hide Bossbar

### Set Bossbar Text

### Set Bossbar Color

### Set Bossbar Style

### Set Bossbar progress

### Title

```yaml
- type: "title"
  title: "Your title"
  subtitle: "Subtitle.."
  fade-in: 10
  stay: 60
  fade-out: 10
```

### Push Player

### Open Inventory

### Set Inventory Items

### Set Inventory Title

### Close Inventory

### Add Potion Effects

### Remove Potion Effects

### Player Equipment

### Player Actions

```yaml
- type: "player-actions"
  actions:
    - type: command # Example player action
      command: "Example command"
```

Arguments:

* Actions - List of player actions. You can check all player action types [HERE](https://mrlarkyy.gitbook.io/aquaticcrates-v3/configuring/rewards/actions).&#x20;

## Crate actions (Open)

### Rumbling Reward
