Interface BiomeConditionSource
- All Superinterfaces:
ConditionSource, SurfaceRule, Wrapper
Checks the biome at the current position.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic BiomeConditionSource.Builderbuilder()Creates a new builder.static BiomeConditionSourceCreates a new biome condition source.static BiomeConditionSourceCreates a new biome condition source.targets()A list of biomes where this condition matches.default BiomeConditionSource.BuilderConverts this object back to a builder.Methods inherited from interface ConditionSource
not, thenMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
targets
-
toBuilder
Converts this object back to a builder.- Returns:
- a builder with the same values as this object
- Since:
- 3.0.0
-
of
Creates a new biome condition source.- Parameters:
targets- the biomes- Returns:
- the biome condition source
- Since:
- 3.0.0
-
of
Creates a new biome condition source.- Parameters:
targets- the biomes- Returns:
- the biome condition source
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-