Package net.minecraft.commands.arguments
Interface ResourceOrTagArgument.Result<T>
- All Known Implementing Classes:
ResourceOrTagArgument.ResourceResult
,ResourceOrTagArgument.TagResult
- Enclosing class:
ResourceOrTagArgument<T>
-
Method Summary
Modifier and TypeMethodDescription<E> Optional
<ResourceOrTagArgument.Result<E>> cast
(ResourceKey<? extends Registry<E>> p_249572_) com.mojang.datafixers.util.Either
<Holder.Reference<T>, HolderSet.Named<T>> unwrap()
-
Method Details
-
unwrap
com.mojang.datafixers.util.Either<Holder.Reference<T>,HolderSet.Named<T>> unwrap() -
cast
-
asPrintable
String asPrintable()
-