Package net.minecraft.command
Class FunctionObject
- java.lang.Object
-
- net.minecraft.command.FunctionObject
-
public class FunctionObject extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FunctionObject.CacheableFunction
static class
FunctionObject.CommandEntry
static class
FunctionObject.FunctionEntry
static interface
FunctionObject.IEntry
-
Field Summary
Fields Modifier and Type Field Description private FunctionObject.IEntry[]
entries
private ResourceLocation
id
-
Constructor Summary
Constructors Constructor Description FunctionObject(ResourceLocation p_i47973_1_, FunctionObject.IEntry[] p_i47973_2_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FunctionObject
fromLines(ResourceLocation p_237140_0_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_237140_1_, CommandSource p_237140_2_, java.util.List<java.lang.String> p_237140_3_)
FunctionObject.IEntry[]
getEntries()
ResourceLocation
getId()
-
-
-
Field Detail
-
entries
private final FunctionObject.IEntry[] entries
-
id
private final ResourceLocation id
-
-
Constructor Detail
-
FunctionObject
public FunctionObject(ResourceLocation p_i47973_1_, FunctionObject.IEntry[] p_i47973_2_)
-
-
Method Detail
-
getId
public ResourceLocation getId()
-
getEntries
public FunctionObject.IEntry[] getEntries()
-
fromLines
public static FunctionObject fromLines(ResourceLocation p_237140_0_, com.mojang.brigadier.CommandDispatcher<CommandSource> p_237140_1_, CommandSource p_237140_2_, java.util.List<java.lang.String> p_237140_3_)
-
-