Package net.minecraft.command.argument
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 fw$c
-
Method Summary
Modifier and TypeMethodDescriptionasString()
com.mojang.datafixers.util.Either
<RegistryEntry.Reference<T>, RegistryEntryList.Named<T>> getEntry()
tryCast
(RegistryKey<? extends Registry<E>> registryRef)
-
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
Lfw$c;a()Lcom/mojang/datafixers/util/Either;
-
tryCast
<E> Optional<RegistryEntryPredicateArgumentType.EntryPredicate<E>> tryCast(RegistryKey<? extends Registry<E>> registryRef) - 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
Lfw$c;a(Lakq;)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
Lfw$c;b()Ljava/lang/String;
-