Interface BlockPredicate
- All Superinterfaces:
BiPredicate<WorldGenLevel,BlockPos>
- All Known Implementing Classes:
AllOfPredicate,AnyOfPredicate,CombiningPredicate,HasSturdyFacePredicate,InsideWorldBoundsPredicate,MatchingBlocksPredicate,MatchingBlockTagPredicate,MatchingFluidsPredicate,NotPredicate,ReplaceablePredicate,SolidPredicate,StateTestingPredicate,TrueBlockPredicate,WouldSurvivePredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<BlockPredicate>static final BlockPredicatestatic final BlockPredicate -
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPredicateallOf(List<BlockPredicate> p_190413_) static BlockPredicateallOf(BlockPredicate... p_190418_) static BlockPredicateallOf(BlockPredicate p_190405_, BlockPredicate p_190406_) static BlockPredicatestatic BlockPredicateanyOf(List<BlockPredicate> p_190426_) static BlockPredicateanyOf(BlockPredicate... p_190431_) static BlockPredicateanyOf(BlockPredicate p_190421_, BlockPredicate p_190422_) static BlockPredicatehasSturdyFace(Direction p_198914_) static BlockPredicatehasSturdyFace(Vec3i p_198309_, Direction p_198310_) static BlockPredicateinsideWorld(Vec3i p_190434_) static BlockPredicatematchesBlock(Block p_190397_, Vec3i p_190398_) static BlockPredicatematchesBlocks(List<Block> p_198312_) static BlockPredicatematchesBlocks(List<Block> p_190415_, Vec3i p_190416_) static BlockPredicatematchesFluid(Fluid p_190408_, Vec3i p_190409_) static BlockPredicatematchesFluids(List<Fluid> p_190428_, Vec3i p_190429_) static BlockPredicatematchesTag(TagKey<Block> p_204678_) static BlockPredicatematchesTag(TagKey<Block> p_204680_, Vec3i p_204681_) static BlockPredicatenot(BlockPredicate p_190403_) static BlockPredicatestatic BlockPredicatereplaceable(Vec3i p_190411_) static BlockPredicatesolid()static BlockPredicatetype()static BlockPredicatewouldSurvive(BlockState p_190400_, Vec3i p_190401_) Methods inherited from interface java.util.function.BiPredicate
and, negate, or, test
-
Field Details
-
CODEC
-
ONLY_IN_AIR_PREDICATE
-
ONLY_IN_AIR_OR_WATER_PREDICATE
-
-
Method Details
-
type
BlockPredicateType<?> type() -
allOf
-
allOf
-
allOf
-
anyOf
-
anyOf
-
anyOf
-
matchesBlocks
-
matchesBlocks
-
matchesBlock
-
matchesTag
-
matchesTag
-
matchesFluids
-
matchesFluid
-
not
-
replaceable
-
replaceable
-
wouldSurvive
-
hasSturdyFace
-
hasSturdyFace
-
solid
-
solid
-
insideWorld
-
alwaysTrue
-