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 BlockPredicatematchesBlocks(List<Block> p_198312_) static BlockPredicatematchesBlocks(Vec3i p_224772_, List<Block> p_224773_) static BlockPredicatematchesBlocks(Vec3i p_224775_, Block... p_224776_) static BlockPredicatematchesBlocks(Block... p_224781_) static BlockPredicatematchesFluids(Vec3i p_224785_, List<Fluid> p_224786_) static BlockPredicatematchesFluids(Vec3i p_224778_, Fluid... p_224779_) static BlockPredicatematchesFluids(Fluid... p_224783_) static BlockPredicatematchesTag(Vec3i p_224769_, TagKey<Block> p_224770_) static BlockPredicatematchesTag(TagKey<Block> p_204678_) static BlockPredicatenoFluid()static BlockPredicatestatic 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
 - 
matchesBlocks
 - 
matchesBlocks
 - 
matchesTag
 - 
matchesTag
 - 
matchesFluids
 - 
matchesFluids
 - 
matchesFluids
 - 
not
 - 
replaceable
 - 
replaceable
 - 
wouldSurvive
 - 
hasSturdyFace
 - 
hasSturdyFace
 - 
solid
 - 
solid
 - 
noFluid
 - 
noFluid
 - 
insideWorld
 - 
alwaysTrue
 
 -