Interface MatchingBiomesPredicate

All Superinterfaces:
BlockPredicate, Wrapper

@NullMarked @AsOf("3.0.0") public interface MatchingBiomesPredicate extends BlockPredicate
Checks if the biome at the block's position is one of the specified biomes.
Since:
3.0.0
See Also:
  • Method Details

    • biomes

      @AsOf("3.0.0") List<Biome> biomes()
      The biomes to match against.
      Returns:
      the biome keys
      Since:
      3.0.0
    • toBuilder

      @AsOf("3.0.0") default MatchingBiomesPredicate.Builder toBuilder()
      Converts this object back to a builder.
      Returns:
      a builder with the same values as this object
      Since:
      3.0.0
    • of

      @AsOf("3.0.0") static MatchingBiomesPredicate of(List<Biome> biomes)
      Creates a new matching biomes predicate.
      Parameters:
      biomes - the biomes to match against
      Returns:
      the matching biomes predicate
      Since:
      3.0.0
    • builder

      @AsOf("3.0.0") static MatchingBiomesPredicate.Builder builder()
      Creates a new builder.
      Returns:
      a new builder
      Since:
      3.0.0