public static class DataOptions.Entities
extends xyz.srnyx.javautilities.parents.Stringable
entity data management| Modifier and Type | Field and Description |
|---|---|
AnnoyingFile.Options<?> |
fileOptions
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
@NotNull java.lang.String |
path
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
@NotNull java.lang.String |
section
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
| Constructor and Description |
|---|
Entities()
Constructs a new
DataOptions.Entities instance with default values |
| Modifier and Type | Method and Description |
|---|---|
@NotNull DataOptions.Entities |
fileOptions(AnnoyingFile.Options<?> fileOptions)
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
@NotNull DataOptions.Entities |
fileOptions(@NotNull java.util.function.Consumer<AnnoyingFile.Options<?>> consumer)
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
static @NotNull DataOptions.Entities |
load(@NotNull org.bukkit.configuration.ConfigurationSection section)
Loads the options from the specified
ConfigurationSection |
@NotNull DataOptions.Entities |
node(@NotNull java.lang.String node)
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
@NotNull DataOptions.Entities |
path(@NotNull java.lang.String path)
Deprecated.
PDC/YML storage has been replaced with SQL storage
|
@NotNull @Deprecated public @NotNull java.lang.String path
plugins/PLUGIN/data/) where the entity data files will be stored@Nullable @Deprecated public AnnoyingFile.Options<?> fileOptions
@NotNull @Deprecated public @NotNull java.lang.String section
public Entities()
DataOptions.Entities instance with default values@NotNull public static @NotNull DataOptions.Entities load(@NotNull @NotNull org.bukkit.configuration.ConfigurationSection section)
ConfigurationSectionsection - the section to load the options from@NotNull @Deprecated public @NotNull DataOptions.Entities path(@NotNull @NotNull java.lang.String path)
pathpath - the new valueDataOptions.Entities instance for chaining@NotNull @Deprecated public @NotNull DataOptions.Entities fileOptions(@Nullable AnnoyingFile.Options<?> fileOptions)
fileOptionsfileOptions - the new valueDataOptions.Entities instance for chaining@NotNull @Deprecated public @NotNull DataOptions.Entities fileOptions(@NotNull @NotNull java.util.function.Consumer<AnnoyingFile.Options<?>> consumer)
fileOptions using the specified Consumerconsumer - the Consumer to accept the new fileOptionsDataOptions.Entities instance for chaining@NotNull @Deprecated public @NotNull DataOptions.Entities node(@NotNull @NotNull java.lang.String node)
sectionnode - the new valueDataOptions.Entities instance for chaining