Class WouldSurviveBlockPredicate
java.lang.Object
net.minecraft.world.gen.blockpredicate.WouldSurviveBlockPredicate
- All Implemented Interfaces:
BiPredicate<StructureWorldAccess,
,BlockPos> BlockPredicate
- Mappings:
Namespace Name named net/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate
intermediary net/minecraft/class_6681
official dzp
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.MapCodec
<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 named CODEC
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;CODEC:Lcom/mojang/serialization/MapCodec;
intermediary field_35160
Lnet/minecraft/class_6681;field_35160:Lcom/mojang/serialization/MapCodec;
official a
Ldzp;a:Lcom/mojang/serialization/MapCodec;
-
offset
- Mappings:
Namespace Name Mixin selector named offset
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;offset:Lnet/minecraft/util/math/Vec3i;
intermediary field_35161
Lnet/minecraft/class_6681;field_35161:Lnet/minecraft/class_2382;
official e
Ldzp;e:Lkd;
-
state
- Mappings:
Namespace Name Mixin selector named state
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;state:Lnet/minecraft/block/BlockState;
intermediary field_35162
Lnet/minecraft/class_6681;field_35162:Lnet/minecraft/class_2680;
official f
Ldzp;f:Ldsd;
-
-
Constructor Details
-
WouldSurviveBlockPredicate
- Mappings:
Namespace Name Mixin selector named <init>
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/block/BlockState;)V
intermediary <init>
Lnet/minecraft/class_6681;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_2680;)V
official <init>
Ldzp;<init>(Lkd;Ldsd;)V
-
-
Method Details
-
test
- Specified by:
test
in interfaceBiPredicate<StructureWorldAccess,
BlockPos> - Mappings:
Namespace Name Mixin selector named test
Lnet/minecraft/world/gen/blockpredicate/WouldSurviveBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
intermediary method_39017
Lnet/minecraft/class_6681;method_39017(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
official a
Ldzp;a(Ldcu;Liz;)Z
-
getType
- Specified by:
getType
in interfaceBlockPredicate
- Mappings:
Namespace Name Mixin selector named getType
Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;getType()Lnet/minecraft/world/gen/blockpredicate/BlockPredicateType;
intermediary method_38873
Lnet/minecraft/class_6646;method_38873()Lnet/minecraft/class_6647;
official a
Ldzc;a()Ldzd;
-