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
named net/minecraft/command/argument/RegistryEntryPredicateArgumentType$EntryPredicate
intermediary net/minecraft/class_7737$class_7741
official ft$c
  • Method Details

    • getEntry

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

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

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