Interface RegistryPredicateArgumentType.RegistryPredicate<T>

All Superinterfaces:
Predicate<RegistryEntry<T>>
All Known Implementing Classes:
RegistryPredicateArgumentType.RegistryKeyBased, RegistryPredicateArgumentType.TagBased
Enclosing class:
RegistryPredicateArgumentType<T>

public static interface RegistryPredicateArgumentType.RegistryPredicate<T> extends Predicate<RegistryEntry<T>>
Mappings:
Namespace Name
named net/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate
intermediary net/minecraft/class_7066$class_7068
official fu$c
  • Method Details

    • getKey

      com.mojang.datafixers.util.Either<RegistryKey<T>,TagKey<T>> getKey()
      Mappings:
      Namespace Name Mixin selector
      named getKey Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;getKey()Lcom/mojang/datafixers/util/Either;
      intermediary method_41173 Lnet/minecraft/class_7066$class_7068;method_41173()Lcom/mojang/datafixers/util/Either;
      official a Lfu$c;a()Lcom/mojang/datafixers/util/Either;
    • tryCast

      Mappings:
      Namespace Name Mixin selector
      named tryCast Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;tryCast(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
      intermediary method_41175 Lnet/minecraft/class_7066$class_7068;method_41175(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      official a Lfu$c;a(Lakj;)Ljava/util/Optional;
    • asString

      String asString()
      Mappings:
      Namespace Name Mixin selector
      named asString Lnet/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate;asString()Ljava/lang/String;
      intermediary method_41176 Lnet/minecraft/class_7066$class_7068;method_41176()Ljava/lang/String;
      official b Lfu$c;b()Ljava/lang/String;