Class BlockPredicate.Builder

java.lang.Object
net.minecraft.predicate.BlockPredicate.Builder
Enclosing class:
BlockPredicate

public static class BlockPredicate.Builder extends Object
Mappings:
Namespace Name
official at$a
intermediary net/minecraft/class_4550$class_4710
named net/minecraft/predicate/BlockPredicate$Builder
  • Field Details

    • block

      @Nullable private @Nullable Set<Block> block
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a:Ljava/util/Set;
      intermediary field_21572 Lnet/minecraft/class_4550$class_4710;field_21572:Ljava/util/Set;
      named block Lnet/minecraft/predicate/BlockPredicate$Builder;block:Ljava/util/Set;
    • tag

      @Nullable private @Nullable Tag<Block> tag
      Mappings:
      Namespace Name Mixin selector
      official b Lat$a;b:Laga;
      intermediary field_21573 Lnet/minecraft/class_4550$class_4710;field_21573:Lnet/minecraft/class_3494;
      named tag Lnet/minecraft/predicate/BlockPredicate$Builder;tag:Lnet/minecraft/tag/Tag;
    • state

      private StatePredicate state
      Mappings:
      Namespace Name Mixin selector
      official c Lat$a;c:Lcv;
      intermediary field_21574 Lnet/minecraft/class_4550$class_4710;field_21574:Lnet/minecraft/class_4559;
      named state Lnet/minecraft/predicate/BlockPredicate$Builder;state:Lnet/minecraft/predicate/StatePredicate;
    • nbt

      private NbtPredicate nbt
      Mappings:
      Namespace Name Mixin selector
      official d Lat$a;d:Lcj;
      intermediary field_21575 Lnet/minecraft/class_4550$class_4710;field_21575:Lnet/minecraft/class_2105;
      named nbt Lnet/minecraft/predicate/BlockPredicate$Builder;nbt:Lnet/minecraft/predicate/NbtPredicate;
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • create

      public static BlockPredicate.Builder create()
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a()Lat$a;
      intermediary method_23880 Lnet/minecraft/class_4550$class_4710;method_23880()Lnet/minecraft/class_4550$class_4710;
      named create Lnet/minecraft/predicate/BlockPredicate$Builder;create()Lnet/minecraft/predicate/BlockPredicate$Builder;
    • block

      public BlockPredicate.Builder block(Block[] block)
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a([Lbzo;)Lat$a;
      intermediary method_27962 Lnet/minecraft/class_4550$class_4710;method_27962([Lnet/minecraft/class_2248;)Lnet/minecraft/class_4550$class_4710;
      named block Lnet/minecraft/predicate/BlockPredicate$Builder;block([Lnet/minecraft/block/Block;)Lnet/minecraft/predicate/BlockPredicate$Builder;
    • method_37214

      public BlockPredicate.Builder method_37214(Iterable<Block> iterable)
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a(Ljava/lang/Iterable;)Lat$a;
      intermediary method_37214 Lnet/minecraft/class_4550$class_4710;method_37214(Ljava/lang/Iterable;)Lnet/minecraft/class_4550$class_4710;
      named method_37214 Lnet/minecraft/predicate/BlockPredicate$Builder;method_37214(Ljava/lang/Iterable;)Lnet/minecraft/predicate/BlockPredicate$Builder;
    • tag

      public BlockPredicate.Builder tag(Tag<Block> tag)
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a(Laga;)Lat$a;
      intermediary method_29233 Lnet/minecraft/class_4550$class_4710;method_29233(Lnet/minecraft/class_3494;)Lnet/minecraft/class_4550$class_4710;
      named tag Lnet/minecraft/predicate/BlockPredicate$Builder;tag(Lnet/minecraft/tag/Tag;)Lnet/minecraft/predicate/BlockPredicate$Builder;
    • nbt

      public BlockPredicate.Builder nbt(NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a(Lna;)Lat$a;
      intermediary method_35042 Lnet/minecraft/class_4550$class_4710;method_35042(Lnet/minecraft/class_2487;)Lnet/minecraft/class_4550$class_4710;
      named nbt Lnet/minecraft/predicate/BlockPredicate$Builder;nbt(Lnet/minecraft/nbt/NbtCompound;)Lnet/minecraft/predicate/BlockPredicate$Builder;
    • state

      public BlockPredicate.Builder state(StatePredicate state)
      Mappings:
      Namespace Name Mixin selector
      official a Lat$a;a(Lcv;)Lat$a;
      intermediary method_27963 Lnet/minecraft/class_4550$class_4710;method_27963(Lnet/minecraft/class_4559;)Lnet/minecraft/class_4550$class_4710;
      named state Lnet/minecraft/predicate/BlockPredicate$Builder;state(Lnet/minecraft/predicate/StatePredicate;)Lnet/minecraft/predicate/BlockPredicate$Builder;
    • build

      public BlockPredicate build()
      Mappings:
      Namespace Name Mixin selector
      official b Lat$a;b()Lat;
      intermediary method_23882 Lnet/minecraft/class_4550$class_4710;method_23882()Lnet/minecraft/class_4550;
      named build Lnet/minecraft/predicate/BlockPredicate$Builder;build()Lnet/minecraft/predicate/BlockPredicate;