Class WouldSurvivePredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.WouldSurvivePredicate
- All Implemented Interfaces:
BiPredicate<WorldGenLevel,
,BlockPos> BlockPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WouldSurvivePredicate>
private final Vec3i
private final BlockState
Fields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
-
Constructor Summary
ModifierConstructorDescriptionprotected
WouldSurvivePredicate
(Vec3i p_190570_, BlockState p_190571_) -
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(WorldGenLevel p_190574_, BlockPos p_190575_) type()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
CODEC
-
offset
-
state
-
-
Constructor Details
-
WouldSurvivePredicate
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<WorldGenLevel,
BlockPos>
-
type
- Specified by:
type
in interfaceBlockPredicate
-