Changes
Page history
added ClearTarget mechanic
authored
Oct 01, 2025
by
Lxlp
Hide whitespace changes
Inline
Side-by-side
Skills/Mechanics/saddle.md
0 → 100644
View page @
1f8283a3
## Description
Allows to either equip or remove a saddle on the target entity.
## Attributes
| Attribute | Aliases | Description | Default |
|-----------|-----------|----------------------------------------------------------------------|---------|
| take | t, remove, r | Whether the saddle should be taken away instead | false |
## Examples
```
yaml
ExampleSkill
:
Skills
:
-
saddle{r=true} @self
```
The following example is a bit more nuanced: it shows how a horse that can equip itself with a temporary saddle can be made
```
yaml
ExampleMob
:
Type
:
HORSE
Options
:
Tamed
:
true
Skills
:
-
aura{d=1200;auraName=TemporarySaddle;cd=600;sync=true;i=1;
onStart=[
- saddle @self
];
onTick=[
- particle{p=crit;hs=0.3;vs=0.2;y=1;a=2} @self
- closeinventory @Passenger
];
onEnd=[
- saddle{r=true} @self
]
} @self ~onInteract
```
## Aliases
-
[x] setsaddle
-
[x] givesaddle
<!--TAGS-->
<!--tag:Inventory-->