Class WouldSurvivePredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.WouldSurvivePredicate
- All Implemented Interfaces:
- BiPredicate<WorldGenLevel,,- BlockPos> - BlockPredicate
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WouldSurvivePredicate>private final Vec3iprivate final BlockStateFields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicateONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedWouldSurvivePredicate(Vec3i p_190570_, BlockState p_190571_) 
- 
Method SummaryModifier and TypeMethodDescriptionbooleantest(WorldGenLevel p_190574_, BlockPos p_190575_) type()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, or
- 
Field Details- 
CODEC
- 
offset
- 
state
 
- 
- 
Constructor Details- 
WouldSurvivePredicate
 
- 
- 
Method Details- 
test- Specified by:
- testin interface- BiPredicate<WorldGenLevel,- BlockPos> 
 
- 
type- Specified by:
- typein interface- BlockPredicate
 
 
-