Class AlwaysTrueBlockPredicate

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

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

    • instance

      public static AlwaysTrueBlockPredicate instance
      Mappings:
      Namespace Name Mixin selector
      named instance Lnet/minecraft/world/gen/blockpredicate/AlwaysTrueBlockPredicate;instance:Lnet/minecraft/world/gen/blockpredicate/AlwaysTrueBlockPredicate;
      intermediary field_35158 Lnet/minecraft/class_6680;field_35158:Lnet/minecraft/class_6680;
      official a Leao;a:Leao;
    • CODEC

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

    • AlwaysTrueBlockPredicate

      private AlwaysTrueBlockPredicate()
  • 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/AlwaysTrueBlockPredicate;test(Lnet/minecraft/world/StructureWorldAccess;Lnet/minecraft/util/math/BlockPos;)Z
      intermediary method_39015 Lnet/minecraft/class_6680;method_39015(Lnet/minecraft/class_5281;Lnet/minecraft/class_2338;)Z
      official a Leao;a(Lddq;Ljd;)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 Leac;a()Lead;