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
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
matchesBlock
(Block p_190397_, Vec3i p_190398_) static BlockPredicate
matchesBlocks
(List<Block> p_198312_) static BlockPredicate
matchesBlocks
(List<Block> p_190415_, Vec3i p_190416_) static BlockPredicate
matchesFluid
(Fluid p_190408_, Vec3i p_190409_) static BlockPredicate
matchesFluids
(List<Fluid> p_190428_, Vec3i p_190429_) static BlockPredicate
matchesTag
(TagKey<Block> p_204678_) static BlockPredicate
matchesTag
(TagKey<Block> p_204680_, Vec3i p_204681_) static BlockPredicate
not
(BlockPredicate p_190403_) static BlockPredicate
static BlockPredicate
replaceable
(Vec3i p_190411_) static BlockPredicate
solid()
static BlockPredicate
type()
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
-
matchesBlock
-
matchesTag
-
matchesTag
-
matchesFluids
-
matchesFluid
-
not
-
replaceable
-
replaceable
-
wouldSurvive
-
hasSturdyFace
-
hasSturdyFace
-
solid
-
solid
-
insideWorld
-
alwaysTrue
-