Mechanic: Saddle
Allows to either equip or remove a saddle on the target entity.
Attributes
Attribute | Aliases | Description | Default Value |
---|---|---|---|
take | t | If the saddle should be taken away. | false |
Examples
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
ExampleMob:
Type: HORSE
Options:
Tamed: true
Skills:
- aura{d=1200;auraName=TemporarySaddle;cd=600;sync=true;i=1;
onStart=[
- saddle @self
];
onTick=[
- e:p{p=crit;hs=0.3;vs=0.2;y=1;a=2} @self
- closeinventory @Passenger
];
onEnd=[
- saddle{r=true} @self
]
} @self ~onInteract