Interface MatchingBiomesPredicate
- All Superinterfaces:
BlockPredicate, Wrapper
Checks if the biome at the block's position is one of the specified biomes.
- Since:
- 3.0.0
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbiomes()The biomes to match against.builder()Creates a new builder.static MatchingBiomesPredicateCreates a new matching biomes predicate.default MatchingBiomesPredicate.BuilderConverts this object back to a builder.Methods inherited from interface BlockPredicate
notMethods inherited from interface Wrapper
asHandle, toMinecraft, unwrap
-
Method Details
-
biomes
-
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 matching biomes predicate.- Parameters:
biomes- the biomes to match against- Returns:
- the matching biomes predicate
- Since:
- 3.0.0
-
builder
Creates a new builder.- Returns:
- a new builder
- Since:
- 3.0.0
-