A - The actor type.public final class BukkitLampConfig<A extends BukkitCommandActor>
extends java.lang.Object
implements revxrsal.commands.LampBuilderVisitor<A>
| Modifier and Type | Class and Description |
|---|---|
static class |
BukkitLampConfig.Builder<A extends BukkitCommandActor>
Represents a builder for
BukkitLampConfig |
| Constructor and Description |
|---|
BukkitLampConfig() |
| Modifier and Type | Method and Description |
|---|---|
static <A extends BukkitCommandActor> |
builder(@NotNull org.bukkit.plugin.java.JavaPlugin plugin)
Returns a new
BukkitLampConfig.Builder with the given plugin. |
static BukkitLampConfig<BukkitCommandActor> |
createDefault(@NotNull org.bukkit.plugin.java.JavaPlugin plugin)
Returns a new
BukkitLampConfig with the given plugin,
containing the default settings. |
void |
visit(revxrsal.commands.Lamp.Builder<A> builder) |
public static <A extends BukkitCommandActor> BukkitLampConfig.Builder<A> builder(@NotNull @NotNull org.bukkit.plugin.java.JavaPlugin plugin)
BukkitLampConfig.Builder with the given plugin.A - The actor typeplugin - Plugin to create forBukkitLampConfig.Builderpublic static BukkitLampConfig<BukkitCommandActor> createDefault(@NotNull @NotNull org.bukkit.plugin.java.JavaPlugin plugin)
BukkitLampConfig with the given plugin,
containing the default settings.plugin - Plugin to create forBukkitLampConfig.Builderpublic void visit(revxrsal.commands.Lamp.Builder<A> builder)
visit in interface revxrsal.commands.LampBuilderVisitor<A extends BukkitCommandActor>