Interface RegistryEntryPredicateArgumentType.EntryPredicate<T>

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

public static interface RegistryEntryPredicateArgumentType.EntryPredicate<T> extends Predicate<RegistryEntry<T>>
Mappings:
Namespace Name
official eq$c
intermediary net/minecraft/class_7737$class_7741
named net/minecraft/command/argument/RegistryEntryPredicateArgumentType$EntryPredicate
  • Method Details

    • getEntry

      com.mojang.datafixers.util.Either<RegistryEntry.Reference<T>,RegistryEntryList.Named<T>> getEntry()
      Mappings:
      Namespace Name Mixin selector
      official a Leq$c;a()Lcom/mojang/datafixers/util/Either;
      intermediary method_45647 Lnet/minecraft/class_7737$class_7741;method_45647()Lcom/mojang/datafixers/util/Either;
      named getEntry Lnet/minecraft/command/argument/RegistryEntryPredicateArgumentType$EntryPredicate;getEntry()Lcom/mojang/datafixers/util/Either;
    • tryCast

      Mappings:
      Namespace Name Mixin selector
      official a Leq$c;a(Ladc;)Ljava/util/Optional;
      intermediary method_45648 Lnet/minecraft/class_7737$class_7741;method_45648(Lnet/minecraft/class_5321;)Ljava/util/Optional;
      named tryCast Lnet/minecraft/command/argument/RegistryEntryPredicateArgumentType$EntryPredicate;tryCast(Lnet/minecraft/registry/RegistryKey;)Ljava/util/Optional;
    • asString

      String asString()
      Mappings:
      Namespace Name Mixin selector
      official b Leq$c;b()Ljava/lang/String;
      intermediary method_45650 Lnet/minecraft/class_7737$class_7741;method_45650()Ljava/lang/String;
      named asString Lnet/minecraft/command/argument/RegistryEntryPredicateArgumentType$EntryPredicate;asString()Ljava/lang/String;