Uses of Interface
net.minecraft.commands.arguments.ResourceOrTagArgument.Result
-
Uses of ResourceOrTagArgument.Result in net.minecraft.commands.arguments
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
Modifier and TypeMethodDescriptionstatic <T> ResourceOrTagArgument.Result<T>
ResourceOrTagArgument.getResourceOrTag
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_249001_, String p_251520_, ResourceKey<Registry<T>> p_250370_) ResourceOrTagArgument.parse
(com.mojang.brigadier.StringReader p_250860_) Modifier and TypeMethodDescription<E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_250007_) <E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_249572_) <E> Optional<ResourceOrTagArgument.Result<E>>
ResourceOrTagArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_250945_) -
Uses of ResourceOrTagArgument.Result in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static int
LocateCommand.locateBiome
(CommandSourceStack p_252062_, ResourceOrTagArgument.Result<Biome> p_249756_) private static int
LocateCommand.locatePoi
(CommandSourceStack p_252013_, ResourceOrTagArgument.Result<PoiType> p_249480_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_263098_, ResourceOrTagArgument.Result<?> p_262956_, BlockPos p_262917_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_263074_, String p_262937_, boolean p_263051_, Duration p_263028_)