Class MatchingFluidsBlockPredicate

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

class MatchingFluidsBlockPredicate extends OffsetPredicate
Mappings:
Namespace Name
official ctl
intermediary net/minecraft/class_6650
named net/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<MatchingFluidsBlockPredicate> CODEC
      Mappings:
      Namespace Name Mixin selector
      official a Lctl;a:Lcom/mojang/serialization/Codec;
      intermediary field_35065 Lnet/minecraft/class_6650;field_35065:Lcom/mojang/serialization/Codec;
      named CODEC Lnet/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate;CODEC:Lcom/mojang/serialization/Codec;
    • fluids

      private final List<Fluid> fluids
      Mappings:
      Namespace Name Mixin selector
      official d Lctl;d:Ljava/util/List;
      intermediary field_35066 Lnet/minecraft/class_6650;field_35066:Ljava/util/List;
      named fluids Lnet/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate;fluids:Ljava/util/List;
  • Constructor Details

    • MatchingFluidsBlockPredicate

      public MatchingFluidsBlockPredicate(BlockPos offset, List<Fluid> fluids)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lctl;<init>(Lgh;Ljava/util/List;)V
      intermediary <init> Lnet/minecraft/class_6650;<init>(Lnet/minecraft/class_2338;Ljava/util/List;)V
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate;<init>(Lnet/minecraft/util/math/BlockPos;Ljava/util/List;)V
  • Method Details

    • test

      protected boolean test(BlockState state)
      Specified by:
      test in class OffsetPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lcto;a(Lcnd;)Z
      intermediary method_38893 Lnet/minecraft/class_6679;method_38893(Lnet/minecraft/class_2680;)Z
      named test Lnet/minecraft/world/gen/blockpredicate/OffsetPredicate;test(Lnet/minecraft/block/BlockState;)Z
    • getType

      public BlockPredicateType<?> getType()
      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;