# Effect Info

## Custom Locations

AE allows you to define custom locations for most effects. To do this, add

```
location=x|y|z
```

to the end of the effect line (after %victim%/%attacker% if you use them). It supports exact coordinates and relative coordinates. To use relative coordinates, put `~` between the `x` and the `=`. Some effects also have custom placeholders for locations. All placeholders include the `X`, `Y`, & `Z` so using them will look like `location=%placeholder%`. All location placeholders are as follows:

| Type       | Location Placeholder |
| ---------- | -------------------- |
| MINING     | %block location%     |
| SWING      | %block location%     |
| ARROW\_HIT | %hit location%       |

Examples: `TELEPORT location=~0|0|-8` to teleport you -8 blocks in the `z` direction\
`TELEPORT location=%hit location%` to teleport you where an arrow lands\
`LIGHTNING location=%hit location%` to strike lightning where a trident lands

## Boost Arguments

The `BOOST` effect propels a player or mob in an direction and velocity

```
BOOST:(direction):(speed)
```

&#x20;The acceptable values for direction are as follows:

| Direction                                      | Argument |
| ---------------------------------------------- | -------- |
| Direction the entity is facing                 | FORWARD  |
| Opposite of the direction the entity is facing | BACKWARD |
| Positive Y \| Upwards                          | UP       |
| Negative Y \| Downwards                        | DOWN     |

Example: `BOOST:FORWARD:5`\
Ideas: Item that propels you when using gliding with Elytra

## Explode Arguments

The `EXPLODE` effect creates an explosion at a location, and you can specify the power, if it will create fire and break blocks.

```
EXPLODE:(power):(create fire):(break blocks)
```

The `create fire` and `break blocks` arguments accepts the values `true` or `false`\
\
Example: `Explode:3:false:true`\
Ideas: Bow that explodes blocks

## Plant Seeds Types

The `PLANT_SEEDS` effect allows you to specify a specific crop to plant after the radius argument

```
PLANT_SEEDS:(radius):[type]
```

All available crops are as follows:

| Crop Type      | Argument |
| -------------- | -------- |
| Wheat Seeds    | SEEDS    |
| Potatoes       | POTATO   |
| Carrots        | CARROT   |
| Beetroot Seeds | BEETROOT |

Example: `PLANT_SEEDS:3:POTATO`

{% hint style="info" %}
If a crop is not specified, Wheat Seeds are used by default
{% endhint %}
