Class NotBlockPredicate

java.lang.Object
net.minecraft.world.gen.blockpredicate.NotBlockPredicate
All Implemented Interfaces:
BiPredicate<StructureWorldAccess,BlockPos>, BlockPredicate

class NotBlockPredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
named net/minecraft/world/gen/blockpredicate/NotBlockPredicate
intermediary net/minecraft/class_6651
official efe
  • Field Details

    • CODEC

      public static final com.mojang.serialization.MapCodec<NotBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      named CODEC Lnet/minecraft/world/gen/blockpredicate/NotBlockPredicate;CODEC:Lcom/mojang/serialization/MapCodec;
      intermediary field_35068 Lnet/minecraft/class_6651;field_35068:Lcom/mojang/serialization/MapCodec;
      official a Lefe;a:Lcom/mojang/serialization/MapCodec;
    • predicate

      private final BlockPredicate predicate
      Mappings:
      Namespace Name Mixin selector
      named predicate Lnet/minecraft/world/gen/blockpredicate/NotBlockPredicate;predicate:Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;
      intermediary field_35069 Lnet/minecraft/class_6651;field_35069:Lnet/minecraft/class_6646;
      official e Lefe;e:Leew;
  • Constructor Details

    • NotBlockPredicate

      public NotBlockPredicate(BlockPredicate predicate)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/NotBlockPredicate;<init>(Lnet/minecraft/world/gen/blockpredicate/BlockPredicate;)V
      intermediary <init> Lnet/minecraft/class_6651;<init>(Lnet/minecraft/class_6646;)V
      official <init> Lefe;<init>(Leew;)V
  • Method Details

    • test

      public boolean test(StructureWorldAccess structureWorldAccess, BlockPos blockPos)
      Specified by:
      test in interface BiPredicate<StructureWorldAccess,BlockPos>
      Mappings:
      Namespace Name Mixin selector
      named test Lnet/minecraft/world/gen/blockpredicate/NotBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_38901 Lnet/minecraft/class_6651;method_38901(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      official a Lefe;a(Ldif;Ljh;)Z
    • getType

      public BlockPredicateType<?> getType()
      Specified by:
      getType in interface BlockPredicate
      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 Leew;a()Leex;