Class TrueBlockPredicate

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

class TrueBlockPredicate extends Object implements BlockPredicate
Mappings:
Namespace Name
official ctp
intermediary net/minecraft/class_6680
named net/minecraft/world/gen/blockpredicate/TrueBlockPredicate
  • Field Details

    • INSTANCE

      public static TrueBlockPredicate INSTANCE
      Mappings:
      Namespace Name Mixin selector
      official a Lctp;a:Lctp;
      intermediary field_35158 Lnet/minecraft/class_6680;field_35158:Lnet/minecraft/class_6680;
      named INSTANCE Lnet/minecraft/world/gen/blockpredicate/TrueBlockPredicate;INSTANCE:Lnet/minecraft/world/gen/blockpredicate/TrueBlockPredicate;
    • CODEC

      public static final com.mojang.serialization.Codec<TrueBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official c Lctp;c:Lcom/mojang/serialization/Codec;
      intermediary field_35159 Lnet/minecraft/class_6680;field_35159:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/TrueBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
  • Constructor Details

    • TrueBlockPredicate

      private TrueBlockPredicate()
  • 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 Lctp;a(Lbzx;Lgh;)Z
      intermediary method_39015 Lnet/minecraft/class_6680;method_39015(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/TrueBlockPredicate;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 Lcth;a()Lcti;
      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;