Class WouldSurviveBlockPredicate
java.lang.Object
net.minecraft.world.gen.blockpredicate.WouldSurviveBlockPredicate
- All Implemented Interfaces:
BiPredicate<StructureWorldAccess,
,BlockPos> BlockPredicate
- Mappings:
Namespace Name official dfv
intermediary net/minecraft/class_6681
named net/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<WouldSurviveBlockPredicate>
private final Vec3i
private final BlockState
Fields inherited from interface net.minecraft.world.gen.blockpredicate.BlockPredicate
BASE_CODEC, IS_AIR, IS_AIR_OR_WATER
-
Constructor Summary
ModifierConstructorDescriptionprotected
WouldSurviveBlockPredicate
(Vec3i offset, BlockState state) -
Method Summary
Modifier and TypeMethodDescriptiongetType()
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
-
Field Details
-
CODEC
- Mappings:
Namespace Name Mixin selector official a
Ldfv;a:Lcom/mojang/serialization/Codec;
intermediary field_35160
Lnet/minecraft/class_6681;field_35160:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
-
offset
- Mappings:
Namespace Name Mixin selector official e
Ldfv;e:Lhu;
intermediary field_35161
Lnet/minecraft/class_6681;field_35161:Lnet/minecraft/class_2382;
named offset
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;offset:Lnet/minecraft/util/math/Vec3i;
-
state
- Mappings:
Namespace Name Mixin selector official f
Ldfv;f:Lcyt;
intermediary field_35162
Lnet/minecraft/class_6681;field_35162:Lnet/minecraft/class_2680;
named state
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;state:Lnet/minecraft/block/BlockState;
-
-
Constructor Details
-
WouldSurviveBlockPredicate
- Mappings:
Namespace Name Mixin selector official <init>
Ldfv;<init>(Lhu;Lcyt;)V
intermediary <init>
Lnet/minecraft/class_6681;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_2680;)V
named <init>
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/block/BlockState;)V
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<StructureWorldAccess,
BlockPos> - Mappings:
Namespace Name Mixin selector official a
Ldfv;a(Lckp;Lgp;)Z
intermediary method_39017
Lnet/minecraft/class_6681;method_39017(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
named test
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
-
getType
- Specified by:
getType
in interfaceBlockPredicate
- Mappings:
Namespace Name Mixin selector official a
Ldfi;a()Ldfj;
intermediary method_38873
Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;
named getType
Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
-