All Superinterfaces:
Predicate<org.cloudburstmc.api.block.BlockState>
All Known Implementing Classes:
AnyOfBlockFilter, ConstantBlock, FeatureAbstractTree, FeatureChorusTree, FeatureDarkOakTree, FeatureFallenTree, FeatureHugeJungleTree, FeatureHugePineTree, FeatureHugeSpruceTree, FeatureHugeTree, FeatureJungleTree, FeatureLargeOakTree, FeatureMushroomBrown, FeatureMushroomRed, FeatureNormalTree, FeatureSavannaTree, FeatureSpruceTree, FeatureSwampTree, ReplacingWorldFeature

public interface BlockFilter extends Predicate<org.cloudburstmc.api.block.BlockState>
Checks if a given block type is valid. Used e.g. to see if a given block may be replaced.
Author:
DaPorkchop_
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
     
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test​(org.cloudburstmc.api.block.BlockState state)
     

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Field Details

  • Method Details

    • test

      boolean test(org.cloudburstmc.api.block.BlockState state)
      Specified by:
      test in interface Predicate<org.cloudburstmc.api.block.BlockState>