Modifier and Type | Class and Description |
---|---|
static class |
FunctionManager.QueuedCommand |
Constructor and Description |
---|
FunctionManager(java.io.File functionDirIn,
MinecraftServer serverIn) |
Modifier and Type | Method and Description |
---|---|
int |
execute(FunctionObject function,
ICommandSender sender) |
ICommandManager |
getCommandManager() |
FunctionObject |
getFunction(ResourceLocation id) |
java.util.Map<ResourceLocation,FunctionObject> |
getFunctions() |
int |
getMaxCommandChainLength() |
void |
reload() |
void |
update() |
public FunctionManager(@Nullable java.io.File functionDirIn, MinecraftServer serverIn)
@Nullable public FunctionObject getFunction(ResourceLocation id)
public ICommandManager getCommandManager()
public int getMaxCommandChainLength()
public java.util.Map<ResourceLocation,FunctionObject> getFunctions()
public int execute(FunctionObject function, ICommandSender sender)
public void reload()