Class BlockPredicateArgumentType.StatePredicate

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

static class BlockPredicateArgumentType.StatePredicate
extends Object
implements Predicate<CachedBlockPosition>
Mappings:
Namespace Name
official eg$a
intermediary net/minecraft/class_2252$class_2253
named net/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate
  • Field Details

    • state

      private final BlockState state
      Mappings:
      Namespace Name Mixin selector
      official a Leg$a;a:Lcht;
      intermediary field_10674 Lnet/minecraft/class_2252$class_2253;field_10674:Lnet/minecraft/class_2680;
      named state Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;state:Lnet/minecraft/block/BlockState;
    • properties

      private final Set<Property<?>> properties
      Mappings:
      Namespace Name Mixin selector
      official b Leg$a;b:Ljava/util/Set;
      intermediary field_10673 Lnet/minecraft/class_2252$class_2253;field_10673:Ljava/util/Set;
      named properties Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;properties:Ljava/util/Set;
    • nbt

      @Nullable private final CompoundTag nbt
      Mappings:
      Namespace Name Mixin selector
      official c Leg$a;c:Lmq;
      intermediary field_10675 Lnet/minecraft/class_2252$class_2253;field_10675:Lnet/minecraft/class_2487;
      named nbt Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;nbt:Lnet/minecraft/nbt/CompoundTag;
  • Constructor Details

    • StatePredicate

      public StatePredicate​(BlockState state, Set<Property<?>> properties, @Nullable CompoundTag nbt)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leg$a;<init>(Lcht;Ljava/util/Set;Lmq;)V
      intermediary <init> Lnet/minecraft/class_2252$class_2253;<init>(Lnet/minecraft/class_2680;Ljava/util/Set;Lnet/minecraft/class_2487;)V
      named <init> Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;<init>(Lnet/minecraft/block/BlockState;Ljava/util/Set;Lnet/minecraft/nbt/CompoundTag;)V
  • Method Details

    • test

      public boolean test​(CachedBlockPosition cachedBlockPosition)
      Specified by:
      test in interface Predicate<CachedBlockPosition>
      Mappings:
      Namespace Name Mixin selector
      official a Leg$a;a(Lchx;)Z
      intermediary method_9648 Lnet/minecraft/class_2252$class_2253;method_9648(Lnet/minecraft/class_2694;)Z
      named test Lnet/minecraft/command/argument/BlockPredicateArgumentType$StatePredicate;test(Lnet/minecraft/block/pattern/CachedBlockPosition;)Z