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
named net/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate
intermediary net/minecraft/class_6650
official efd
  • Field Details

    • CODEC

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

      private final RegistryEntryList<Fluid> fluids
      Mappings:
      Namespace Name Mixin selector
      named fluids Lnet/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate;fluids:Lnet/minecraft/registry/entry/RegistryEntryList;
      intermediary field_35066 Lnet/minecraft/class_6650;field_35066:Lnet/minecraft/class_6885;
      official e Lefd;e:Lju;
  • Constructor Details

    • MatchingFluidsBlockPredicate

      public MatchingFluidsBlockPredicate(Vec3i offset, RegistryEntryList<Fluid> fluids)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/world/gen/blockpredicate/MatchingFluidsBlockPredicate;<init>(Lnet/minecraft/util/math/Vec3i;Lnet/minecraft/registry/entry/RegistryEntryList;)V
      intermediary <init> Lnet/minecraft/class_6650;<init>(Lnet/minecraft/class_2382;Lnet/minecraft/class_6885;)V
      official <init> Lefd;<init>(Lkl;Lju;)V
  • Method Details

    • test

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

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