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 official dch
intermediary net/minecraft/class_6679
named net/minecraft/world/gen/blockpredicate/OffsetPredicate
-
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 official f
Ldch;f:Lhs;
intermediary field_35157
Lnet/minecraft/class_6679;field_35157:Lnet/minecraft/class_2382;
named offset
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;offset:Lnet/minecraft/util/math/Vec3i;
-
-
Constructor Details
-
OffsetPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Ldch;<init>(Lhs;)V
intermediary <init>
Lnet/minecraft/class_6679;<init>(Lnet/minecraft/class_2382;)V
named <init>
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;<init>(Lnet/minecraft/util/math/Vec3i;)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 official a
Ldch;a(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;
named registerOffsetField
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;registerOffsetField(Lcom/mojang/serialization/codecs/RecordCodecBuilder$Instance;)Lcom/mojang/datafixers/Products$P1;
-
test
- Specified by:
test
in interfaceBiPredicate<StructureWorldAccess,
BlockPos> - Mappings:
Namespace Name Mixin selector official a
Ldch;a(Lchp;Lgt;)Z
intermediary method_39012
Lnet/minecraft/class_6679;method_39012(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
named test
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
test
- Mappings:
Namespace Name Mixin selector official a
Ldch;a(Lcvo;)Z
intermediary method_38893
Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
named test
Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
-