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
official cug
intermediary net/minecraft/class_6651
named net/minecraft/world/gen/blockpredicate/NotBlockPredicate
  • Field Details

    • CODEC

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

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

    • NotBlockPredicate

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

    • test

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

      public BlockPredicateType<?> getType()
      Specified by:
      getType in interface BlockPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcua;a()Lcub;
      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;