|
**Description:** Whether the target is within the given cuboid between location1 x location2
|
|
## Description
|
|
|
|
Whether the target is within a cuboid that has `location1` and `location2` as opposite vertices
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Attributes:**
|
|
## Attributes
|
|
|
|
|
|
| Attribute | Alias | Description |
|
|
| Attribute | Aliases | Description | Default |
|
|
| --------- | ----- | ----------- |
|
|
|-----------|-----------|----------------------------------------------------------------------|---------|
|
|
| location1 | loc1, l1, a | x,y,z coordinates for the 1st point. |
|
|
| location1 | loc1, l1, a | x,y,z coordinates for the 1st point. | |
|
|
| location2 | loc2, l2, b | x,y,z coordinates for the 2nd point. |
|
|
| location2 | loc2, l2, b | x,y,z coordinates for the 2nd point. | |
|
|
| relative | r | Whether or not the coordinates should be relative to the caster |
|
|
| relative | r | Whether or not the coordinates should be relative to the caster | false |
|
|
| world | None | The world for the cuboid location to check. |
|
|
|
|
---
|
|
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
|
|
|
|
## Examples
|
|
|
|
```yaml
|
|
|
|
TargetConditions:
|
|
|
|
- cuboid{location1=x,y,z;location2=x,y,z;relative=true}
|
|
```
|
|
```
|
|
TargetConditions:
|
|
|
|
- cuboid{location1=x,y,z;location2=x,y,z;world=world;relative=true}
|
|
|
|
```
|
|
|
|
|
|
|
|
---
|
|
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
|
|
- [x] Type: Compare |
|
## Aliases
|
|
\ No newline at end of file |
|
- [x] incuboid |
|
|
|
\ No newline at end of file |