Package net.minecraft.command.argument
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 fx$c
-
Method Summary
Modifier and TypeMethodDescriptionasString()
com.mojang.datafixers.util.Either
<RegistryKey<T>, TagKey<T>> getKey()
tryCast
(RegistryKey<? extends Registry<E>> registryRef)
-
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
Lfx$c;a()Lcom/mojang/datafixers/util/Either;
-
tryCast
<E> Optional<RegistryPredicateArgumentType.RegistryPredicate<E>> tryCast(RegistryKey<? extends Registry<E>> registryRef) - 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
Lfx$c;a(Lakq;)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
Lfx$c;b()Ljava/lang/String;
-