Class ReplaceableBlockPredicate
java.lang.Object
net.minecraft.world.gen.blockpredicate.ReplaceableBlockPredicate
- All Implemented Interfaces:
BiPredicate<StructureWorldAccess,,BlockPos> BlockPredicate
- Mappings:
Namespace Name official ctbintermediary net/minecraft/class_6652named net/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ReplaceableBlockPredicate>static final ReplaceableBlockPredicateFields inherited from interface net.minecraft.world.gen.blockpredicate.BlockPredicate
BASE_CODEC -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetType()booleantest(StructureWorldAccess structureWorldAccess, BlockPos blockPos) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiPredicate
and, negate, or
-
Field Details
-
INSTANCE
- Mappings:
Namespace Name Mixin selector official aLctb;a:Lctb;intermediary field_35070Lnet/minecraft/class_6652;field_35070:Lnet/minecraft/class_6652;named INSTANCELnet/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate;INSTANCE:Lnet/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate;
-
CODEC
- Mappings:
Namespace Name Mixin selector official cLctb;c:Lcom/mojang/serialization/Codec;intermediary field_35071Lnet/minecraft/class_6652;field_35071:Lcom/mojang/serialization/Codec;named CODECLnet/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
ReplaceableBlockPredicate
private ReplaceableBlockPredicate()
-
-
Method Details
-
test
- Specified by:
testin interfaceBiPredicate<StructureWorldAccess,BlockPos> - Mappings:
Namespace Name Mixin selector official aLctb;a(Lbzr;Lgh;)Zintermediary method_38904Lnet/minecraft/class_6652;method_38904(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Znamed testLnet/minecraft/world/gen/blockpredicate/ReplaceableBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
getType
- Specified by:
getTypein interfaceBlockPredicate- Mappings:
Namespace Name Mixin selector official aLcsv;a()Lcsw;intermediary method_38873Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;named getTypeLnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-