Class ReplaceablePredicate
java.lang.Object
net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
net.minecraft.world.level.levelgen.blockpredicates.ReplaceablePredicate
- All Implemented Interfaces:
BiPredicate<WorldGenLevel,
,BlockPos> BlockPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<ReplaceablePredicate> Fields inherited from class net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
offset
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
Methods inherited from class net.minecraft.world.level.levelgen.blockpredicates.StateTestingPredicate
stateTestingCodec, test
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
-
-
Constructor Details
-
ReplaceablePredicate
-
-
Method Details
-
test
- Specified by:
test
in classStateTestingPredicate
-
type
-