Uses of Interface
net.minecraft.commands.arguments.ResourceOrTagLocationArgument.Result
-
Uses of ResourceOrTagLocationArgument.Result in net.minecraft.commands.arguments
Modifier and TypeClassDescription(package private) static final record
(package private) static final record
Modifier and TypeMethodDescriptionstatic <T> ResourceOrTagLocationArgument.Result<T>
ResourceOrTagLocationArgument.getRegistryType
(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_210956_, String p_210957_, ResourceKey<Registry<T>> p_210958_, com.mojang.brigadier.exceptions.DynamicCommandExceptionType p_210959_) ResourceOrTagLocationArgument.parse
(com.mojang.brigadier.StringReader p_210951_) Modifier and TypeMethodDescriptionResourceOrTagLocationArgument.ResourceResult.cast
(ResourceKey<? extends Registry<E>> p_210988_) ResourceOrTagLocationArgument.Result.cast
(ResourceKey<? extends Registry<E>> p_210997_) ResourceOrTagLocationArgument.TagResult.cast
(ResourceKey<? extends Registry<E>> p_211022_) -
Uses of ResourceOrTagLocationArgument.Result in net.minecraft.server.commands
Modifier and TypeMethodDescriptionprivate static Optional<? extends HolderSet.ListBacked<Structure>>
LocateCommand.getHolders
(ResourceOrTagLocationArgument.Result<Structure> p_214484_, Registry<Structure> p_214485_) private static int
LocateCommand.locateBiome
(CommandSourceStack p_214502_, ResourceOrTagLocationArgument.Result<Biome> p_214503_) private static int
LocateCommand.locatePoi
(CommandSourceStack p_214509_, ResourceOrTagLocationArgument.Result<PoiType> p_214510_) private static int
LocateCommand.locateStructure
(CommandSourceStack p_214472_, ResourceOrTagLocationArgument.Result<Structure> p_214473_) static int
LocateCommand.showLocateResult
(CommandSourceStack p_214475_, ResourceOrTagLocationArgument.Result<?> p_214476_, BlockPos p_214477_, com.mojang.datafixers.util.Pair<BlockPos, ? extends Holder<?>> p_214478_, String p_214479_, boolean p_214480_)