类 StateTestingPredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
- 所有已实现的接口:
BiPredicate<WorldGenLevel,
,BlockPos> BlockPredicate
- 直接已知子类:
MatchingBlocksPredicate
,MatchingBlockTagPredicate
,MatchingFluidsPredicate
,ReplaceablePredicate
,SolidPredicate
-
字段概要
字段从接口继承的字段 net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
CODEC, ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明protected static <P extends StateTestingPredicate>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Vec3i> stateTestingCodec
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_190547_) protected abstract boolean
test
(BlockState pState) final boolean
test
(WorldGenLevel pLevel, BlockPos pPos) 从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
从接口继承的方法 java.util.function.BiPredicate
and, negate, or
从接口继承的方法 net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
type
-
字段详细资料
-
offset
-
-
构造器详细资料
-
StateTestingPredicate
-
-
方法详细资料
-
stateTestingCodec
protected static <P extends StateTestingPredicate> com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Vec3i> stateTestingCodec(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> p_190547_) -
test
- 指定者:
test
在接口中BiPredicate<WorldGenLevel,
BlockPos>
-
test
-