接口 BlockPredicate
- 所有超级接口:
BiPredicate<WorldGenLevel,
BlockPos>
- 所有已知实现类:
AllOfPredicate
,AnyOfPredicate
,CombiningPredicate
,HasSturdyFacePredicate
,InsideWorldBoundsPredicate
,MatchingBlocksPredicate
,MatchingBlockTagPredicate
,MatchingFluidsPredicate
,NotPredicate
,ReplaceablePredicate
,SolidPredicate
,StateTestingPredicate
,TrueBlockPredicate
,WouldSurvivePredicate
-
字段概要
字段修饰符和类型字段说明static final com.mojang.serialization.Codec<BlockPredicate>
static final BlockPredicate
static final BlockPredicate
-
方法概要
修饰符和类型方法说明static BlockPredicate
allOf
(List<BlockPredicate> pPredicates) static BlockPredicate
allOf
(BlockPredicate... pPredicates) static BlockPredicate
allOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
static BlockPredicate
anyOf
(List<BlockPredicate> pPredicates) static BlockPredicate
anyOf
(BlockPredicate... pPredicates) static BlockPredicate
anyOf
(BlockPredicate pPredicate1, BlockPredicate pPredicate2) static BlockPredicate
hasSturdyFace
(Direction pDirection) static BlockPredicate
hasSturdyFace
(Vec3i pOffset, Direction pDirection) static BlockPredicate
insideWorld
(Vec3i pOffset) static BlockPredicate
matchesBlocks
(List<Block> pBlocks) static BlockPredicate
matchesBlocks
(Vec3i pOffset, List<Block> pBlocks) static BlockPredicate
matchesBlocks
(Vec3i pOffset, Block... pBlocks) static BlockPredicate
matchesBlocks
(Block... pBlocks) static BlockPredicate
matchesFluids
(Vec3i pOffset, List<Fluid> pFluids) static BlockPredicate
matchesFluids
(Vec3i pOffset, Fluid... pFluids) static BlockPredicate
matchesFluids
(Fluid... pFluids) static BlockPredicate
matchesTag
(Vec3i pOffset, TagKey<Block> pTag) static BlockPredicate
matchesTag
(TagKey<Block> pTag) static BlockPredicate
noFluid()
static BlockPredicate
static BlockPredicate
not
(BlockPredicate pPredicate) static BlockPredicate
static BlockPredicate
replaceable
(Vec3i pOffset) static BlockPredicate
solid()
static BlockPredicate
type()
static BlockPredicate
wouldSurvive
(BlockState pState, Vec3i pOffset) 从接口继承的方法 java.util.function.BiPredicate
and, negate, or, test
-
字段详细资料
-
CODEC
-
ONLY_IN_AIR_PREDICATE
-
ONLY_IN_AIR_OR_WATER_PREDICATE
-
-
方法详细资料
-
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
-