Changes
Page history
added exact attribute, updated examples, provided further info and changed layout
authored
May 15, 2023
by
Lxlp
Show whitespace changes
Inline
Side-by-side
Skills/conditions/biome.md
View page @
1d527980
**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:
...
@@ -23,9 +23,3 @@ If using a custom biome (like from a datapack), you can define it with the names
...
@@ -23,9 +23,3 @@ 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