Class BlockPredicateArgumentType.TagPredicate

java.lang.Object
net.minecraft.command.argument.BlockPredicateArgumentType.TagPredicate
All Implemented Interfaces:
Predicate<CachedBlockPosition>, BlockPredicateArgumentType.BlockPredicate
Enclosing class:
BlockPredicateArgumentType

private static class BlockPredicateArgumentType.TagPredicate extends Object implements BlockPredicateArgumentType.BlockPredicate
Mappings:
Namespace Name
official fd$c
intermediary net/minecraft/class_2252$class_2255
named net/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate
  • Field Details

    • tag

      private final RegistryEntryList<Block> tag
      Mappings:
      Namespace Name Mixin selector
      official a Lfd$c;a:Lhe;
      intermediary field_10676 Lnet/minecraft/class_2252$class_2255;field_10676:Lnet/minecraft/class_6885;
      named tag Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;tag:Lnet/minecraft/util/registry/RegistryEntryList;
    • nbt

      @Nullable private final @Nullable NbtCompound nbt
      Mappings:
      Namespace Name Mixin selector
      official b Lfd$c;b:Lpj;
      intermediary field_10677 Lnet/minecraft/class_2252$class_2255;field_10677:Lnet/minecraft/class_2487;
      named nbt Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;nbt:Lnet/minecraft/nbt/NbtCompound;
    • properties

      private final Map<String,String> properties
      Mappings:
      Namespace Name Mixin selector
      official c Lfd$c;c:Ljava/util/Map;
      intermediary field_10678 Lnet/minecraft/class_2252$class_2255;field_10678:Ljava/util/Map;
      named properties Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;properties:Ljava/util/Map;
  • Constructor Details

    • TagPredicate

      TagPredicate(RegistryEntryList<Block> tag, Map<String,String> properties, @Nullable @Nullable NbtCompound nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfd$c;<init>(Lhe;Ljava/util/Map;Lpj;)V
      intermediary <init> Lnet/minecraft/class_2252$class_2255;<init>(Lnet/minecraft/class_6885;Ljava/util/Map;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;<init>(Lnet/minecraft/util/registry/RegistryEntryList;Ljava/util/Map;Lnet/minecraft/nbt/NbtCompound;)V
  • Method Details

    • test

      public boolean test(CachedBlockPosition cachedBlockPosition)
      Specified by:
      test in interface Predicate<CachedBlockPosition>
      Mappings:
      Namespace Name Mixin selector
      official a Lfd$c;a(Lcvs;)Z
      intermediary method_9649 Lnet/minecraft/class_2252$class_2255;method_9649(Lnet/minecraft/class_2694;)Z
      named test Lnet/minecraft/command/argument/BlockPredicateArgumentType$TagPredicate;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z
    • hasNbt

      public boolean hasNbt()
      Specified by:
      hasNbt in interface BlockPredicateArgumentType.BlockPredicate
      Mappings:
      Namespace Name Mixin selector
      official a Lfd$b;a()Z
      intermediary method_38559 Lnet/minecraft/class_2252$class_2254;method_38559()Z
      named hasNbt Lnet/minecraft/command/argument/BlockPredicateArgumentType$BlockPredicate;hasNbt()Z