Interface BlockPredicate
- All Superinterfaces:
BiPredicate<WorldGenLevel,
BlockPos>
- All Known Implementing Classes:
AllOfPredicate
,AnyOfPredicate
,CombiningPredicate
,HasSturdyFacePredicate
,InsideWorldBoundsPredicate
,MatchingBlocksPredicate
,MatchingBlockTagPredicate
,MatchingFluidsPredicate
,NotPredicate
,ReplaceablePredicate
,SolidPredicate
,StateTestingPredicate
,TrueBlockPredicate
,UnobstructedPredicate
,WouldSurvivePredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<BlockPredicate> static final BlockPredicate
static final BlockPredicate
-
Method Summary
Modifier and TypeMethodDescriptionstatic BlockPredicate
allOf
(List<BlockPredicate> p_190413_) static BlockPredicate
allOf
(BlockPredicate... p_190418_) static BlockPredicate
allOf
(BlockPredicate p_190405_, BlockPredicate p_190406_) static BlockPredicate
static BlockPredicate
anyOf
(List<BlockPredicate> p_190426_) static BlockPredicate
anyOf
(BlockPredicate... p_190431_) static BlockPredicate
anyOf
(BlockPredicate p_190421_, BlockPredicate p_190422_) static BlockPredicate
hasSturdyFace
(Direction p_198914_) static BlockPredicate
hasSturdyFace
(Vec3i p_198309_, Direction p_198310_) static BlockPredicate
insideWorld
(Vec3i p_190434_) static BlockPredicate
matchesBlocks
(List<Block> p_198312_) static BlockPredicate
matchesBlocks
(Vec3i p_224772_, List<Block> p_224773_) static BlockPredicate
matchesBlocks
(Vec3i p_224775_, Block... p_224776_) static BlockPredicate
matchesBlocks
(Block... p_224781_) static BlockPredicate
matchesFluids
(Vec3i p_224785_, List<Fluid> p_224786_) static BlockPredicate
matchesFluids
(Vec3i p_224778_, Fluid... p_224779_) static BlockPredicate
matchesFluids
(Fluid... p_224783_) static BlockPredicate
matchesTag
(Vec3i p_224769_, TagKey<Block> p_224770_) static BlockPredicate
matchesTag
(TagKey<Block> p_204678_) static BlockPredicate
noFluid()
static BlockPredicate
static BlockPredicate
not
(BlockPredicate p_190403_) static BlockPredicate
static BlockPredicate
replaceable
(Vec3i p_190411_) static BlockPredicate
solid()
static BlockPredicate
type()
static BlockPredicate
static BlockPredicate
unobstructed
(Vec3i p_344704_) static BlockPredicate
wouldSurvive
(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
-
unobstructed
-
unobstructed
-