Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AbstractArrayProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property.array
-
Represents an array of values in the config object.
- AbstractArrayProperty(Field, Object, T, Value, ArraySettings, IComment) - Constructor for class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Constructor for an array property.
- adapter(IPropertyAdapter<?>) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Registers a new property adapter for the config object.
- adapter(PropertyResolver) - Static method in class net.darkhax.pricklemc.common.api.config.property.ConfigObjectProperty
-
Creates a new adapter using a specific property resolver.
- Adapter - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
This annotation can be used to enforce a specific property adapter for a given field.
- ADAPTER - Static variable in class net.darkhax.pricklemc.common.api.config.property.array.ArrayProperty
-
The property adapter for Java arrays.
- ADAPTER - Static variable in class net.darkhax.pricklemc.common.api.config.property.array.CollectionArrayProperty
-
A property adapter for Java collections.
- ADAPTER - Static variable in class net.darkhax.pricklemc.common.api.config.property.RangedProperty
-
The adapter for ranged number properties.
- ADAPTER - Static variable in class net.darkhax.pricklemc.common.api.config.property.RegexStringProperty
-
A property adapter for regex validated strings.
- allowEmpty() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Array
-
Determines if the collection is allowed to be empty.
- allowEmpty() - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArraySettings
-
Checks if the array can be empty.
- apply(Consumer<T>) - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Invokes the consumer with the cached value.
- Array - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on a collection or an array additional properties and constraints can be applied.
- ArrayProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property.array
-
An array property that can handle Java arrays.
- ArraySettings - Class in net.darkhax.pricklemc.common.api.config.property.array
-
Settings for an array property.
- ArraySettings(Array) - Constructor for class net.darkhax.pricklemc.common.api.config.property.array.ArraySettings
-
Creates a settings object from the
Arrayannotation. - asBigDecimal(Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Gets a BigDecimal representation of a number.
- ATTRIBUTE_MODIFIER - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for attribute modifiers using Mojang's codec.
B
- BASIC_TYPES - Static variable in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
A set of Java types that align with the types of JSON primitives.
- BLOCK_POS - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for block positions using Mojang's codec.
- build(T) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Builds the config manager.
- Builder(Path) - Constructor for class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
C
- cache(Supplier<T>) - Static method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Creates a cached supplier that will cache a value from the supplied delegate when queried.
- CachedSupplier<T> - Class in net.darkhax.pricklemc.common.api.util
-
An implementation of Supplier that will cache the result.
- CachedSupplier(Supplier<T>) - Constructor for class net.darkhax.pricklemc.common.api.util.CachedSupplier
- cast() - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Performs an unsafe cast to the expected type.
- CodecProperty<T> - Class in net.darkhax.pricklemc.common.impl.config.property
-
A config property where the value is serialized using a Minecraft Codec.
- CodecProperty(Field, Object, T, Value, IComment, Codec<T>) - Constructor for class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
- CodecProperty.Adapter<T> - Class in net.darkhax.pricklemc.common.impl.config.property
-
A type adapter that will use a Codec to serialize a given type.
- CollectionArrayProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property.array
-
An array property that can handle Java collections.
- comment() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Value
-
Defines a comment for the property.
- comment() - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Gets the comment for the property.
- Comment - Class in net.darkhax.pricklemc.common.api.config.comment
-
A simple multi-line comment implementation.
- Comment(String...) - Constructor for class net.darkhax.pricklemc.common.api.config.comment.Comment
-
Constructs a simple multi-line comment.
- commentResolver(ICommentResolver) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Sets a new comment resolver that should handle creating comments.
- CommentTypeAdapter - Class in net.darkhax.pricklemc.common.api.config.comment
-
A GSON type adapter that handles reading and writing comments through GSON.
- compareNumber(Number, Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Compares two numbers as a comparator.
- ConfigManager<T> - Class in net.darkhax.pricklemc.common.api.config
- ConfigManager.Builder<T> - Class in net.darkhax.pricklemc.common.api.config
-
A builder for
ConfigManagerobjects. - ConfigObjectProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property
-
A config property that contains an object of sub-properties.
- ConfigObjectSerializer<T> - Class in net.darkhax.pricklemc.common.api.config
-
A serializer that will map an object to config property adapters and make the serializable.
- ConfigObjectSerializer(PropertyResolver, T) - Constructor for class net.darkhax.pricklemc.common.api.config.ConfigObjectSerializer
- Constants - Class in net.darkhax.pricklemc.common.impl
-
Constant variables used throughout the mod.
- Constants() - Constructor for class net.darkhax.pricklemc.common.impl.Constants
D
- DEFAULT - Static variable in class net.darkhax.pricklemc.common.api.config.property.array.ArraySettings
-
Default settings that are used when the
Arrayannotation was not found. - DEFAULT_INDENT - Static variable in class net.darkhax.pricklemc.common.impl.Constants
-
The default indent for JSON writers when writing JSON data.
- defaultValue() - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Gets the default value for the property.
- deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class net.darkhax.pricklemc.common.api.config.comment.CommentTypeAdapter
E
- EFFECT_INSTANCE - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for status effects using Mojang's codec.
- equals(Number, Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Checks if number x is equal to number y.
F
- FALLBACK_ADAPTER - Static variable in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
The property adapter that is used when a field does not have an explicit property adapter.
G
- get() - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Gets the object being managed.
- get() - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
- getConfigDirectory() - Method in interface net.darkhax.pricklemc.common.api.util.IPlatformHelper
-
Gets the specified configuration directory as a file reference.
- getConfigPath() - Method in interface net.darkhax.pricklemc.common.api.util.IPlatformHelper
-
Gets the specified configuration path for the game.
- getInstance() - Static method in class net.darkhax.pricklemc.common.impl.PrickleMod
-
Gets the mod instance.
- getLines() - Method in class net.darkhax.pricklemc.common.api.config.comment.Comment
- getLines() - Method in interface net.darkhax.pricklemc.common.api.config.comment.IComment
-
Gets the lines of the comment.
- getName() - Method in interface net.darkhax.pricklemc.common.api.util.IPlatformHelper
-
Gets the name of the platform.
- greaterThan(Number, Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Checks if number x is greater than number y.
- gson() - Method in class net.darkhax.pricklemc.common.api.config.PropertyResolver
-
Gets a configured GSON instance that should be used when serializing properties.
- gsonBuilder(GsonBuilder) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Overrides the GsonBuilder with a new one.
- gsonConfig(Consumer<GsonBuilder>) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Registers a consumer that can be used to set up the underlying Gson instance.
H
- hasComment(Value) - Static method in interface net.darkhax.pricklemc.common.api.config.comment.ICommentResolver
-
Checks if a comment has been defined for the value.
I
- IComment - Interface in net.darkhax.pricklemc.common.api.config.comment
-
Represents the comment of a config property.
- ICommentResolver - Interface in net.darkhax.pricklemc.common.api.config.comment
-
Comment resolvers are responsible for generating an
ICommentfrom a config property. - IConfigProperty<T> - Interface in net.darkhax.pricklemc.common.api.config.property
-
Represents a field that has been mapped to a config property.
- id(String) - Static method in class net.darkhax.pricklemc.common.impl.Constants
-
Creates a new resource location using the project namespace.
- IDefaultPropertyAdapters - Interface in net.darkhax.pricklemc.common.api.config.property
-
Allows additional default property adapters to be defined.
- ifCached(Consumer<T>) - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Safely attempts to invoke a consumer with the cached value.
- ifPresent(Consumer<T>) - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Safely attempts to invoke a consumer with the cached value.
- INGREDIENT - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for ingredients using Mojang's codec.
- init() - Method in class net.darkhax.pricklemc.common.impl.PrickleMod
- init(String, T) - Static method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Initializes a config manager with the default plugins.
- init(String, T, Consumer<ConfigManager.Builder<T>>) - Static method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Initializes a config manager with the default plugins and extra user configurations applied.
- inlineComplex() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Array
-
Determines if collections containing complex objects can be inlined.
- inlineComplex() - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArraySettings
-
Checks if complex objects can be inlined.
- inlineCount() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Array
-
The threshold used when deciding if the collection should be inlined.
- inlineCount() - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArraySettings
-
Gets the inline threshold for the array.
- INSTANCE - Static variable in class net.darkhax.pricklemc.common.api.config.comment.CommentTypeAdapter
-
The single instance of this type adapter.
- invalidate() - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Invalidates the cached value.
- IPlatformHelper - Interface in net.darkhax.pricklemc.common.api.util
-
The PlatformHelper provides useful context and information about the platform the game is running on.
- IPropertyAdapter<T> - Interface in net.darkhax.pricklemc.common.api.config.property
-
Property adapters are used to map Java fields to config properties.
- isCached() - Method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Checks if this supplier has a cached value.
- isComplex(Object) - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArrayProperty
- isComplex(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Checks if the array value contains a complex entry.
- isComplex(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.CollectionArrayProperty
- isEmpty(Object) - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArrayProperty
- isEmpty(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Checks if the array value is empty.
- isEmpty(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.CollectionArrayProperty
- isOverInlineThreshold(Object) - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArrayProperty
- isOverInlineThreshold(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Checks if the length of the array value is over the inline threshold.
- isOverInlineThreshold(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.CollectionArrayProperty
- isSpecialNumber(Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Checks if a number requires special handling.
- ITEM_STACK - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for item stacks using Mojang's codec.
L
- lessThan(Number, Number) - Static method in class net.darkhax.pricklemc.common.api.util.NumberUtils
-
Checks if number x is less than number y.
- load() - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Loads the config file from disk.
- load(Class<T>) - Static method in class net.darkhax.pricklemc.common.api.services.Services
- load(String, T) - Static method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Creates and loads a configuration file.
- load(String, T, Consumer<ConfigManager.Builder<T>>) - Static method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Creates and loads a configuration file.
- loadMany(Class<T>) - Static method in class net.darkhax.pricklemc.common.api.services.Services
- LOG - Static variable in class net.darkhax.pricklemc.common.impl.Constants
-
A logger instance that should only be used by the mod.
- logger() - Method in class net.darkhax.pricklemc.common.api.config.PropertyResolver
-
Gets a logger instance that can be used when serializing properties.
- logger(Logger) - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager.Builder
-
Sets the logger to use when outputting errors and warnings.
M
- max() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedDouble
-
Gets the highest value permitted for the property.
- max() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedFloat
-
Gets the highest value permitted for the property.
- max() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedInt
-
Gets the highest value permitted for the property.
- max() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedLong
-
Gets the highest value permitted for the property.
- max() - Method in class net.darkhax.pricklemc.common.api.config.property.RangedProperty
- min() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedDouble
-
Gets the lowest value permitted for the property.
- min() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedFloat
-
Gets the lowest value permitted for the property.
- min() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedInt
-
Gets the lowest value permitted for the property.
- min() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.RangedLong
-
Gets the lowest value permitted for the property.
- MinecraftPropertyPlugin - Class in net.darkhax.pricklemc.common.impl.config.property
- MinecraftPropertyPlugin() - Constructor for class net.darkhax.pricklemc.common.impl.config.property.MinecraftPropertyPlugin
- MOD_ID - Static variable in class net.darkhax.pricklemc.common.impl.Constants
-
The ID of the mod.
- MOD_NAME - Static variable in class net.darkhax.pricklemc.common.impl.Constants
-
The display name of the mod.
N
- name() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Value
-
Defines an alternative name to use when serializing the property.
- net.darkhax.pricklemc.common.api.annotations - package net.darkhax.pricklemc.common.api.annotations
- net.darkhax.pricklemc.common.api.config - package net.darkhax.pricklemc.common.api.config
- net.darkhax.pricklemc.common.api.config.comment - package net.darkhax.pricklemc.common.api.config.comment
- net.darkhax.pricklemc.common.api.config.property - package net.darkhax.pricklemc.common.api.config.property
- net.darkhax.pricklemc.common.api.config.property.array - package net.darkhax.pricklemc.common.api.config.property.array
- net.darkhax.pricklemc.common.api.services - package net.darkhax.pricklemc.common.api.services
- net.darkhax.pricklemc.common.api.util - package net.darkhax.pricklemc.common.api.util
- net.darkhax.pricklemc.common.impl - package net.darkhax.pricklemc.common.impl
- net.darkhax.pricklemc.common.impl.config.property - package net.darkhax.pricklemc.common.impl.config.property
- NumberUtils - Class in net.darkhax.pricklemc.common.api.util
- NumberUtils() - Constructor for class net.darkhax.pricklemc.common.api.util.NumberUtils
O
- ObjectProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property
- ObjectProperty(Field, Object, T, Value, IComment) - Constructor for class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
- of(Type, Codec<T>) - Static method in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Creates an adapter that will process a given type using a codec.
P
- PLATFORM - Static variable in class net.darkhax.pricklemc.common.api.services.Services
- PrickleMod - Class in net.darkhax.pricklemc.common.impl
- PrickleMod() - Constructor for class net.darkhax.pricklemc.common.impl.PrickleMod
- PropertyResolver - Class in net.darkhax.pricklemc.common.api.config
-
Handles properties and settings related to resolving properties and JSON values.
- PropertyResolver(Gson, Logger, List<IPropertyAdapter<?>>, ICommentResolver) - Constructor for class net.darkhax.pricklemc.common.api.config.PropertyResolver
R
- RangedDouble - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on a double property it will validate that the value is within the range, inclusive of the minimum and maximum values.
- RangedFloat - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on a float property it will validate that the value is within the range, inclusive of the minimum and maximum values.
- RangedInt - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on an integer property it will validate that the value is within the range, inclusive of the minimum and maximum value.
- RangedLong - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on a long property it will validate that the value is within the range, inclusive of the minimum and maximum values.
- RangedProperty<T> - Class in net.darkhax.pricklemc.common.api.config.property
-
Represents a number property that can only fall within the specified range.
- read(JsonReader) - Method in class net.darkhax.pricklemc.common.api.config.ConfigObjectSerializer
-
Reads JSON data and updates the properties on the config object.
- read(JsonReader, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ConfigObjectProperty
- read(JsonReader, PropertyResolver, Logger) - Method in interface net.darkhax.pricklemc.common.api.config.property.IConfigProperty
-
Reads the value from the JSON and applies it to the parent object.
- read(JsonReader, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
- readValue(JsonReader, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Reads a value from the JSON reader.
- readValue(JsonReader, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
- reference() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Value
-
Defines a link to an online resource the reader can reference when deciding the value of the property.
- Regex - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
When this annotation is used on a String the value will be validated using the provided regex pattern.
- RegexStringProperty - Class in net.darkhax.pricklemc.common.api.config.property
-
A property that holds a string that is validated using Regex.
- register(Consumer<IPropertyAdapter<?>>) - Method in interface net.darkhax.pricklemc.common.api.config.property.IDefaultPropertyAdapters
-
Registers a new default property adapter.
- register(Consumer<IPropertyAdapter<?>>) - Method in class net.darkhax.pricklemc.common.impl.config.property.MinecraftPropertyPlugin
- resolve(Field, Object, Value) - Method in interface net.darkhax.pricklemc.common.api.config.comment.ICommentResolver
-
Attempts to resolve a comment for a config property using the available information.
- resolve(Field, Object, Value) - Method in class net.darkhax.pricklemc.common.api.config.comment.WrappedComment.WrappedCommentResolver
- RESOLVER - Static variable in class net.darkhax.pricklemc.common.api.config.comment.WrappedComment
-
The default wrapped comment resolver.
- RESOURCE_LOCATION - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for resource locations using Mojang's codec.
S
- save() - Method in class net.darkhax.pricklemc.common.api.config.ConfigManager
-
Saves the config object to the specified file path.
- serialize(IComment, Type, JsonSerializationContext) - Method in class net.darkhax.pricklemc.common.api.config.comment.CommentTypeAdapter
- Services - Class in net.darkhax.pricklemc.common.api.services
- Services() - Constructor for class net.darkhax.pricklemc.common.api.services.Services
- settings() - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Gets settings for the array value.
- singleton(T) - Static method in class net.darkhax.pricklemc.common.api.util.CachedSupplier
-
Creates a cached supplier that can only produce a single value.
T
- TEXT_COMPONENT - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for text components using Mojang's codec.
- TEXT_STYLE - Static variable in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
-
Builtin support for text styles using Mojang's codec.
- toComment(Field, Object, Value) - Method in class net.darkhax.pricklemc.common.api.config.PropertyResolver
-
Attempts to resolve a comment for a config property.
- toProperty(Field, Object, Value) - Method in class net.darkhax.pricklemc.common.api.config.PropertyResolver
-
Maps a Java field to a config property.
- toValue(PropertyResolver, Field, Object, Object, Value) - Method in interface net.darkhax.pricklemc.common.api.config.property.IPropertyAdapter
-
Attempts to map a field on the config object to a config property.
- toValue(PropertyResolver, Field, Object, Object, Value) - Method in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty.Adapter
V
- validate(String) - Method in class net.darkhax.pricklemc.common.api.config.property.RegexStringProperty
- validate(T) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
- validate(T) - Method in interface net.darkhax.pricklemc.common.api.config.property.IConfigProperty
-
Validates if a value is valid for the property.
- validate(T) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
- validate(T) - Method in class net.darkhax.pricklemc.common.api.config.property.RangedProperty
- value() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Adapter
-
The class of the adapter to use when mapping the field.
- value() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Regex
-
A regex pattern that will be used to validate the property.
- value() - Method in interface net.darkhax.pricklemc.common.api.config.property.IConfigProperty
-
Gets the value held by the property.
- value() - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Gets the current value of the property.
- Value - Annotation Interface in net.darkhax.pricklemc.common.api.annotations
-
This annotation is used to mark a field for inclusion in the config schema.
W
- WrappedComment - Class in net.darkhax.pricklemc.common.api.config.comment
-
Represents a comment in a Prickle file.
- WrappedComment(String, int, boolean) - Constructor for class net.darkhax.pricklemc.common.api.config.comment.WrappedComment
-
Create a wrapped comment.
- WrappedComment.WrappedCommentResolver - Class in net.darkhax.pricklemc.common.api.config.comment
-
Resolves comments by wrapping the text to the specified width and optionally padding multi-line comments to the maximum line length.
- WrappedCommentResolver(int, boolean) - Constructor for class net.darkhax.pricklemc.common.api.config.comment.WrappedComment.WrappedCommentResolver
- write(JsonWriter) - Method in class net.darkhax.pricklemc.common.api.config.ConfigObjectSerializer
-
Writes the config object to a JSON writer.
- write(JsonWriter, PropertyResolver, Logger) - Method in interface net.darkhax.pricklemc.common.api.config.property.IConfigProperty
-
Writes the value to the JSON writer.
- write(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
- writeAdditionalComments(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
- writeAdditionalComments(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Writes additional decorators to the JSON writer.
- writeAdditionalComments(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.RangedProperty
- writeAdditionalComments(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.RegexStringProperty
- writeArrayValues(Object, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.array.ArrayProperty
- writeArrayValues(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
-
Writes entries of the array value to a JSONWriter.
- writeArrayValues(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.array.CollectionArrayProperty
- writeDefault() - Element in annotation interface net.darkhax.pricklemc.common.api.annotations.Value
-
Should the default value be written to the config as a decorator? This should generally be disabled for objects and large arrays.
- writeDefaultValue() - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Checks if the default value should be written as a decorator.
- writeDefaultValue(JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Handles writing the default value to the JSON writer.
- writeValue(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.array.AbstractArrayProperty
- writeValue(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ConfigObjectProperty
- writeValue(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.api.config.property.ObjectProperty
-
Writes a value to the JSON writer.
- writeValue(T, JsonWriter, PropertyResolver, Logger) - Method in class net.darkhax.pricklemc.common.impl.config.property.CodecProperty
All Classes and Interfaces|All Packages|Constant Field Values