Class BlockPredicate.Builder

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

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

    • blocks

      private Optional<RegistryEntryList<Block>> blocks
      Mappings:
      Namespace Name Mixin selector
      named blocks Lnet/minecraft/predicate/BlockPredicate$Builder;blocks:Ljava/util/Optional;
      intermediary field_21572 Lnet/minecraft/class_4550$class_4710;field_21572:Ljava/util/Optional;
      official a Lax$a;a:Ljava/util/Optional;
    • state

      private Optional<StatePredicate> state
      Mappings:
      Namespace Name Mixin selector
      named state Lnet/minecraft/predicate/BlockPredicate$Builder;state:Ljava/util/Optional;
      intermediary field_21574 Lnet/minecraft/class_4550$class_4710;field_21574:Ljava/util/Optional;
      official b Lax$a;b:Ljava/util/Optional;
    • nbt

      private Optional<NbtPredicate> nbt
      Mappings:
      Namespace Name Mixin selector
      named nbt Lnet/minecraft/predicate/BlockPredicate$Builder;nbt:Ljava/util/Optional;
      intermediary field_21575 Lnet/minecraft/class_4550$class_4710;field_21575:Ljava/util/Optional;
      official c Lax$a;c:Ljava/util/Optional;
  • Constructor Details

    • Builder

      private Builder()
  • Method Details

    • create

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

      public BlockPredicate.Builder blocks(RegistryEntryLookup<Block> blockRegistry, Block[] blocks)
      Mappings:
      Namespace Name Mixin selector
      named blocks Lnet/minecraft/predicate/BlockPredicate$Builder;blocks(Lnet/minecraft/registry/RegistryEntryLookup;[Lnet/minecraft/block/Block;)Lnet/minecraft/predicate/BlockPredicate$Builder;
      intermediary method_27962 Lnet/minecraft/class_4550$class_4710;method_27962(Lnet/minecraft/class_7871;[Lnet/minecraft/class_2248;)Lnet/minecraft/class_4550$class_4710;
      official a Lax$a;a(Ljr;[Ldkl;)Lax$a;
    • blocks

      public BlockPredicate.Builder blocks(RegistryEntryLookup<Block> blockRegistry, Collection<Block> blocks)
      Mappings:
      Namespace Name Mixin selector
      named blocks Lnet/minecraft/predicate/BlockPredicate$Builder;blocks(Lnet/minecraft/registry/RegistryEntryLookup;Ljava/util/Collection;)Lnet/minecraft/predicate/BlockPredicate$Builder;
      intermediary method_37214 Lnet/minecraft/class_4550$class_4710;method_37214(Lnet/minecraft/class_7871;Ljava/util/Collection;)Lnet/minecraft/class_4550$class_4710;
      official a Lax$a;a(Ljr;Ljava/util/Collection;)Lax$a;
    • tag

      public BlockPredicate.Builder tag(RegistryEntryLookup<Block> blockRegistry, TagKey<Block> tag)
      Mappings:
      Namespace Name Mixin selector
      named tag Lnet/minecraft/predicate/BlockPredicate$Builder;tag(Lnet/minecraft/registry/RegistryEntryLookup;Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/predicate/BlockPredicate$Builder;
      intermediary method_29233 Lnet/minecraft/class_4550$class_4710;method_29233(Lnet/minecraft/class_7871;Lnet/minecraft/class_6862;)Lnet/minecraft/class_4550$class_4710;
      official a Lax$a;a(Ljr;Layk;)Lax$a;
    • nbt

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

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

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