Class HasSturdyFacePredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.HasSturdyFacePredicate
- All Implemented Interfaces:
BiPredicate<WorldGenLevel,
,BlockPos> BlockPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<HasSturdyFacePredicate> private final Direction
private final Vec3i
Fields inherited from interface net.minecraft.world.level.levelgen.blockpredicates.BlockPredicate
ONLY_IN_AIR_OR_WATER_PREDICATE, ONLY_IN_AIR_PREDICATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
test
(WorldGenLevel p_198324_, BlockPos p_198325_) 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
-
offset
-
direction
-
CODEC
-
-
Constructor Details
-
HasSturdyFacePredicate
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<WorldGenLevel,
BlockPos>
-
type
- Specified by:
type
in interfaceBlockPredicate
-