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 SummaryFieldsFields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicateCODEC, ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicateand, negate, orMethods inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicatetype
- 
Field Details- 
offset
 
- 
- 
Constructor Details- 
StateTestingPredicate
 
- 
- 
Method Details- 
stateTestingCodecprotected 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 interface- BiPredicate<WorldGenLevel,- BlockPos> 
 
- 
test
 
-