public static class CommandFunction.LazyContainer extends Object
Modifier and Type | Field and Description |
---|---|
static CommandFunction.LazyContainer |
EMPTY |
private Optional<CommandFunction> |
function |
private Identifier |
id |
private boolean |
initialized |
Constructor and Description |
---|
LazyContainer(CommandFunction function) |
LazyContainer(Identifier id) |
Modifier and Type | Method and Description |
---|---|
Optional<CommandFunction> |
get(CommandFunctionManager manager) |
Identifier |
getId() |
public static final CommandFunction.LazyContainer EMPTY
@Nullable private final Identifier id
private boolean initialized
private Optional<CommandFunction> function
public LazyContainer(@Nullable Identifier id)
public LazyContainer(CommandFunction function)
public Optional<CommandFunction> get(CommandFunctionManager manager)
@Nullable public Identifier getId()