Class StateTestingPredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
- All Implemented Interfaces:
BiPredicate<WorldGenLevel,,BlockPos> BlockPredicate
- Direct Known Subclasses:
MatchingBlocksPredicate,MatchingBlockTagPredicate,MatchingFluidsPredicate,ReplaceablePredicate,SolidPredicate
-
Field Summary
FieldsFields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
CODEC, ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected 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 booleantest(BlockState p_190545_) final booleantest(WorldGenLevel p_190543_, BlockPos p_190544_) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, orMethods inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
type
-
Field Details
-
offset
-
-
Constructor Details
-
StateTestingPredicate
-
-
Method Details
-
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
- Specified by:
testin interfaceBiPredicate<WorldGenLevel,BlockPos>
-
test
-