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
official er$c
intermediary net/minecraft/class_7066$class_7068
named net/minecraft/command/argument/RegistryPredicateArgumentType$RegistryPredicate
  • Method Details

    • getKey

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

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

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