Package net.minecraft.commands.arguments
Interface ResourceOrTagKeyArgument.Result<T>
- All Known Implementing Classes:
ResourceOrTagKeyArgument.ResourceResult
,ResourceOrTagKeyArgument.TagResult
- Enclosing class:
ResourceOrTagKeyArgument<T>
-
Method Summary
Modifier and TypeMethodDescriptioncast
(ResourceKey<? extends Registry<E>> p_251612_) com.mojang.datafixers.util.Either
<ResourceKey<T>, TagKey<T>> unwrap()
-
Method Details
-
unwrap
com.mojang.datafixers.util.Either<ResourceKey<T>,TagKey<T>> unwrap() -
cast
-
asPrintable
String asPrintable()
-