Uses of Class
net.minecraft.command.FunctionObject
Package
Description
-
Uses of FunctionObject in net.minecraft.advancements
Modifier and TypeMethodDescriptionFunctionManager.get
(ResourceLocation p_215361_1_) FunctionManager.getTag
(ResourceLocation p_240947_1_) Modifier and TypeMethodDescriptionint
FunctionManager.execute
(FunctionObject p_195447_1_, CommandSource p_195447_2_) Modifier and TypeMethodDescriptionprivate void
FunctionManager.executeTagFunctions
(Collection<FunctionObject> p_240945_1_, ResourceLocation p_240945_2_) -
Uses of FunctionObject in net.minecraft.command
Modifier and TypeFieldDescriptionprivate Optional<FunctionObject>
FunctionObject.CacheableFunction.function
Modifier and TypeMethodDescriptionstatic FunctionObject
FunctionObject.fromLines
(ResourceLocation p_237140_0_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_237140_1_, CommandSource p_237140_2_, List<String> p_237140_3_) Modifier and TypeMethodDescriptionFunctionObject.CacheableFunction.get
(FunctionManager p_218039_1_) ModifierConstructorDescriptionCacheableFunction
(FunctionObject p_i47602_1_) FunctionEntry
(FunctionObject p_i47601_1_) -
Uses of FunctionObject in net.minecraft.command.arguments
Modifier and TypeMethodDescriptionprivate static FunctionObject
FunctionArgument.getFunction
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218108_0_, ResourceLocation p_218108_1_) Modifier and TypeMethodDescriptionFunctionArgument.IResult.create
(com.mojang.brigadier.context.CommandContext<CommandSource> p_223252_1_) static com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218110_0_, String p_218110_1_) static com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> FunctionArgument.getFunctionOrTag
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218110_0_, String p_218110_1_) static Collection<FunctionObject>
FunctionArgument.getFunctions
(com.mojang.brigadier.context.CommandContext<CommandSource> p_200022_0_, String p_200022_1_) private static ITag<FunctionObject>
FunctionArgument.getFunctionTag
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218111_0_, ResourceLocation p_218111_1_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> FunctionArgument.IResult.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218102_1_) com.mojang.datafixers.util.Pair<ResourceLocation,
com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> FunctionArgument.IResult.unwrap
(com.mojang.brigadier.context.CommandContext<CommandSource> p_218102_1_) -
Uses of FunctionObject in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static int
FunctionCommand.runFunction
(CommandSource p_200025_0_, Collection<FunctionObject> p_200025_1_) private static int
ScheduleCommand.schedule
(CommandSource p_241063_0_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> p_241063_1_, int p_241063_2_, boolean p_241063_3_) private static int
ScheduleCommand.schedule
(CommandSource p_241063_0_, com.mojang.datafixers.util.Pair<ResourceLocation, com.mojang.datafixers.util.Either<FunctionObject, ITag<FunctionObject>>> p_241063_1_, int p_241063_2_, boolean p_241063_3_) -
Uses of FunctionObject in net.minecraft.resources
Modifier and TypeFieldDescriptionprivate Map<ResourceLocation,
FunctionObject> FunctionReloader.functions
private ITagCollection<FunctionObject>
FunctionReloader.tags
private final TagCollectionReader<FunctionObject>
FunctionReloader.tagsLoader
Modifier and TypeMethodDescriptionFunctionReloader.getFunction
(ResourceLocation p_240940_1_) FunctionReloader.getFunctions()
FunctionReloader.getTag
(ResourceLocation p_240943_1_) FunctionReloader.getTags()