|
**Description:** This condition tests if the target is within the given list of biomes.
|
|
## Description
|
|
|
|
This condition tests if the target is within the given list of biomes.
|
|
|
|
If no namespace is provided, it will default to `minecraft:`
|
|
|
|
|
|
---
|
|
## Attributes
|
|
|
|
|
|
**Attributes:**
|
|
| Attribute | Aliases | Description | Default |
|
|
|
|
| --------- | --------| --------------------------|------------------|
|
|
|
|
| biome | b | A list of biomes to check | minecraft:plains |
|
|
|
|
| exact | e | Whether to match the biome exactly | true |
|
|
|
|
|
|
| Attribute | Alias | Description |
|
|
|
|
| --------- | ----- | ------------------------ |
|
|
|
|
| biome | b | A list of biomes to check|
|
|
|
|
|
|
|
|
---
|
|
## Examples
|
|
|
|
|
|
**Examples:**
|
|
|
|
|
|
|
|
```
|
|
```
|
|
Conditions:
|
|
Conditions:
|
|
- biome{b=DESERT,DESERT_HILLS} true
|
|
- biome{b=minecraft:plains,river} true
|
|
```
|
|
```
|
|
|
|
|
|
If using a custom biome (like from a datapack), you can define it with the namespaced key like this:
|
|
If using a custom biome (like from a datapack), you can define it with the namespaced key like this:
|
... | @@ -22,10 +22,4 @@ If using a custom biome (like from a datapack), you can define it with the names |
... | @@ -22,10 +22,4 @@ If using a custom biome (like from a datapack), you can define it with the names |
|
```
|
|
```
|
|
Conditions:
|
|
Conditions:
|
|
- biome{b=far_end:void,far_end:warped_marsh} true
|
|
- biome{b=far_end:void,far_end:warped_marsh} true
|
|
```
|
|
``` |
|
|
|
\ No newline at end of file |
|
---
|
|
|
|
|
|
|
|
**Extra Information:**
|
|
|
|
|
|
|
|
- [x] Type: Location |
|
|
|
\ No newline at end of file |
|
|