Class OffsetPredicate
java.lang.Object
net.minecraft.world.gen.blockpredicate.OffsetPredicate
- All Implemented Interfaces:
BiPredicate<StructureWorldAccess,
,BlockPos> BlockPredicate
- Direct Known Subclasses:
MatchingBlocksBlockPredicate
,MatchingBlockTagPredicate
,MatchingFluidsBlockPredicate
,ReplaceableBlockPredicate
,SolidBlockPredicate
- Mappings:
Namespace Name named net/minecraft/world/gen/blockpredicate/OffsetPredicate
intermediary net/minecraft/class_6679
official dzo
-
Field Summary
Fields inherited from interface net.minecraft.world.gen.blockpredicate.BlockPredicate
BASE_CODEC, IS_AIR, IS_AIR_OR_WATER
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static <P extends OffsetPredicate>
com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>, Vec3i> registerOffsetField
(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) protected abstract boolean
test
(BlockState state) final boolean
test
(StructureWorldAccess structureWorldAccess, BlockPos blockPos) 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
Methods inherited from interface net.minecraft.world.gen.blockpredicate.BlockPredicate
getType
-
Field Details
-
offset
- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;offset:Lnet/minecraft/util/math/Vec3i;
intermediary field_35157
Lnet/minecraft/class_6679;field_35157:Lnet/minecraft/class_2382;
official f
Ldzo;f:Lkd;
-
-
Constructor Details
-
OffsetPredicate
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;<init>(Lnet/minecraft/util/math/Vec3i;)V
intermediary <init>
Lnet/minecraft/class_6679;<init>(Lnet/minecraft/class_2382;)V
official <init>
Ldzo;<init>(Lkd;)V
-
-
Method Details
-
registerOffsetField
protected static <P extends OffsetPredicate> com.mojang.datafixers.Products.P1<com.mojang.serialization.codecs.RecordCodecBuilder.Mu<P>,Vec3i> registerOffsetField(com.mojang.serialization.codecs.RecordCodecBuilder.Instance<P> instance) - Mappings:
Namespace Name Mixin selector named registerOffsetField
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;registerOffsetField(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
intermediary method_39013
Lnet/minecraft/class_6679;method_39013(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
official a
Ldzo;a(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
-
test
- Specified by:
test
in interfaceBiPredicate<StructureWorldAccess,
BlockPos> - Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_39012
Lnet/minecraft/class_6679;method_39012(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
official a
Ldzo;a(Ldcv;Liz;)Z
-
test
- Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
intermediary method_38893
Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
official a
Ldzo;a(Ldse;)Z
-