A B C D E F G I J K L M N O P R S T U V W

## A

apply(Map<ResourceLocation, FINE>, IResourceManager, IProfiler) - Method in class commoble.databuddy.data.MergeableJsonDataManager
  Main thread -- the processedData argument is the data generated and returned by prepare off-thread
apply(Map<ResourceLocation, JsonElement>, IResourceManager, IProfiler) - Method in class commoble.databuddy.data.SimpleJsonDataManager
  Called on resource reload, the jsons have already been found for us and we just need to parse them in here
apply(ListNBT, int) - Method in interface commoble.databuddy.nbt.NBTListCodec.ListReader
  Deprecated.

## B

BYTE - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.

## C

commoble.databuddy.codec - package commoble.databuddy.codec
commoble.databuddy.config - package commoble.databuddy.config
commoble.databuddy.data - package commoble.databuddy.data
commoble.databuddy.nbt - package commoble.databuddy.nbt
commoble.databuddy.plugin - package commoble.databuddy.plugin
COMPOUND - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
ConfigHelper - Class in commoble.databuddy.config
  Config helper for automatically subscribing forge configs to config reload events as you build them.
ConfigHelper() - Constructor for class commoble.databuddy.config.ConfigHelper
ConfigHelper.ConfigValueListener<T> - Class in commoble.databuddy.config
  A config-reload-sensitive wrapper around your config value
ConfigHelper.Subscriber - Class in commoble.databuddy.config
  Subscriber instances are given to your config class's constructor
convertEntriesToMap(List<Pair<KEY, VALUE>>) - Static method in class commoble.databuddy.codec.MapCodecHelper
convertMapToEntries(Map<KEY, VALUE>) - Static method in class commoble.databuddy.codec.MapCodecHelper

## D

data - Variable in class commoble.databuddy.data.MergeableJsonDataManager
data - Variable in class commoble.databuddy.data.SimpleJsonDataManager
  The raw data that we parsed from json last time resources were reloaded
decode(DynamicOps<T>, MapLike<T>) - Method in class commoble.databuddy.codec.NullableFieldCodec
decode(DynamicOps<T>, MapLike<T>) - Method in class commoble.databuddy.codec.VariatingCodec
decode(DynamicOps<T>, T) - Method in class commoble.databuddy.codec.VariatingCodec.NoopWrapperCodec
DOUBLE - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.

## E

encode(Pair<K, V>, DynamicOps<T>, RecordBuilder<T>) - Method in class commoble.databuddy.codec.VariatingCodec
encode(Pair<K, V>, DynamicOps<T>, T) - Method in class commoble.databuddy.codec.VariatingCodec.NoopWrapperCodec

## F

FLOAT - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.

## G

get() - Method in class commoble.databuddy.config.ConfigHelper.ConfigValueListener
getData(ResourceLocation) - Method in class commoble.databuddy.data.SimpleJsonDataManager
  Get the data object represented by the json at the given resource location
getJsonAsData(JsonObject) - Method in class commoble.databuddy.data.MergeableJsonDataManager
  Use a json object to generate a raw data object
getJsonAsData(JsonElement) - Method in class commoble.databuddy.data.SimpleJsonDataManager
  Use a json object (presumably one from an assets/modid/asset_type/ or data/modid/data_type/ folder) to generate a data object
getSafePairCodec(Codec<KEY>, Codec<VALUE>) - Static method in class commoble.databuddy.codec.MapCodecHelper

## I

INTEGER - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
isStringJsonFile(String) - Static method in class commoble.databuddy.data.MergeableJsonDataManager

## J

JSON_EXTENSION - Static variable in class commoble.databuddy.data.MergeableJsonDataManager
JSON_EXTENSION_LENGTH - Static variable in class commoble.databuddy.data.MergeableJsonDataManager

## K

keys(DynamicOps<T>) - Method in class commoble.databuddy.codec.VariatingCodec

## L

LIST - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
ListNBTType(int, NBTListCodec.ListReader<RAW>, Function<RAW, INBT>) - Constructor for class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
loadPlugins(Class<?>, Class<PLUGIN>, REGISTRY, Logger, String) - Static method in class commoble.databuddy.plugin.PluginLoader
  Gathers all classes that implement the given interface and are annotated with the given annotation, attempts to make one instance of each of these classes, and registers them to some plugin-registering object.

## M

makeDefaultableField(String, Codec<VALUE>, VALUE) - Static method in class commoble.databuddy.codec.NullableFieldCodec
  As with makeOptional field, but decodes values directly to the given type instead of wrapping in an optional.
makeEntryListCodec(Codec<KEY>, Codec<VALUE>) - Static method in class commoble.databuddy.codec.MapCodecHelper
  Returns a codec for a map that represents the map as a list of key-value pairs.
makeMapBackedVariatingCodec(String, Codec<K>, Supplier<Map<K, Codec<V>>>) - Static method in class commoble.databuddy.codec.VariatingCodec
  Make a variating codec backed by a key-codec map.
makeOptionalField(String, Codec<VALUE>) - Static method in class commoble.databuddy.codec.NullableFieldCodec
  Creates a field codec useable in RecordCodecBuilder for a field that permits absent or null values.
makeSetCodec(Codec<T>) - Static method in class commoble.databuddy.codec.SetCodecHelper
makeStringKeyedCodec(Codec<VALUE>) - Static method in class commoble.databuddy.codec.MapCodecHelper
  Returns a codec for a map with string keys.
makeStringKeyedCodec(Function<String, KEY>, Function<KEY, String>, Codec<VALUE>) - Static method in class commoble.databuddy.codec.MapCodecHelper
  Returns a codec for a map with string-representable keys.
makeVariatingCodec(String, Codec<K>, Function<K, ? extends DataResult<? extends Codec<? extends V>>>) - Static method in class commoble.databuddy.codec.VariatingCodec
  Make a variating codec with a general-purpose subtype getter
MapCodecHelper - Class in commoble.databuddy.codec
  Helper class for converting maps to NBT/json/etc and back using mojang's codec library.
MapCodecHelper() - Constructor for class commoble.databuddy.codec.MapCodecHelper
mapValues(Map<Key, In>, Function<In, Out>) - Static method in class commoble.databuddy.data.MergeableJsonDataManager
mapValues(Map<KEY, IN>, Function<IN, OUT>) - Static method in class commoble.databuddy.data.SimpleJsonDataManager
  Converts all the values in a map to new values; the new map uses the same keys as the old map
MergeableJsonDataManager<RAW,FINE> - Class in commoble.databuddy.data
MergeableJsonDataManager(String, Type, Gson, Logger, Function<Stream<RAW>, FINE>) - Constructor for class commoble.databuddy.data.MergeableJsonDataManager
  Initialize a data manager with the given data folder name and gson codec

## N

NBTListCodec<ENTRY,RAW> - Class in commoble.databuddy.nbt
  Deprecated.
  Consider using mojang codecs and Codec::listOf, see `MapCodecHelper` and Drullkus's codec primer
NBTListCodec(String, NBTListCodec.ListNBTType<RAW>, Function<ENTRY, RAW>, Function<RAW, ENTRY>) - Constructor for class commoble.databuddy.nbt.NBTListCodec
  Deprecated.
NBTListCodec.ListNBTType<RAW> - Class in commoble.databuddy.nbt
  Deprecated.
NBTListCodec.ListReader<T> - Interface in commoble.databuddy.nbt
  Deprecated.
  Represents a function that takes a list NBT and an index and returns the object in the list at that index.
NBTMapCodec<KEY,VALUE> - Class in commoble.databuddy.nbt
  Deprecated.
  see commoble.databuddy.codec.MapCodecHelper as it uses actual mojang Codecs and also supports json
NBTMapCodec(String, BiConsumer<CompoundNBT, KEY>, Function<CompoundNBT, KEY>, BiConsumer<CompoundNBT, VALUE>, Function<CompoundNBT, VALUE>) - Constructor for class commoble.databuddy.nbt.NBTMapCodec
  Deprecated.
NoopWrapperCodec(String, Codec<K>, Codec<Pair<K, V>>) - Constructor for class commoble.databuddy.codec.VariatingCodec.NoopWrapperCodec
NullableFieldCodec<VALUE> - Class in commoble.databuddy.codec
  Similar to OptionalFieldCodec, but *only* permits absent values.
NullableFieldCodec(String, Codec<VALUE>) - Constructor for class commoble.databuddy.codec.NullableFieldCodec

## O

of(ForgeConfigSpec.ConfigValue<T>, List<ConfigHelper.ConfigValueListener<?>>) - Static method in class commoble.databuddy.config.ConfigHelper.ConfigValueListener

## P

PluginLoader - Class in commoble.databuddy.plugin
PluginLoader() - Constructor for class commoble.databuddy.plugin.PluginLoader
prepare(IResourceManager, IProfiler) - Method in class commoble.databuddy.data.MergeableJsonDataManager
  Off-thread calculations (can include reading files)
processData(List<JsonObject>) - Method in class commoble.databuddy.data.MergeableJsonDataManager

## R

read(CompoundNBT) - Method in class commoble.databuddy.nbt.NBTListCodec
  Deprecated.
  Reconstructs and returns a List<ENTRY> from a CompoundNBT If the nbt used was given by this.write(list), the list returned will be a reconstruction of the original List
read(CompoundNBT) - Method in class commoble.databuddy.nbt.NBTMapCodec
  Deprecated.
  Reconstructs and returns a Map<KEY,VALUE> from a CompoundNBT If the nbt used was given by this.write(map), the map returned will be a reconstruction of the original Map
register(ModConfig.Type, BiFunction<ForgeConfigSpec.Builder, ConfigHelper.Subscriber, T>) - Static method in class commoble.databuddy.config.ConfigHelper
  Call this in your @Mod class constructor.
register(ModLoadingContext, FMLJavaModLoadingContext, ModConfig.Type, BiFunction<ForgeConfigSpec.Builder, ConfigHelper.Subscriber, T>) - Static method in class commoble.databuddy.config.ConfigHelper
  Call this in your @Mod class constructor.

## S

SetCodecHelper - Class in commoble.databuddy.codec
SetCodecHelper() - Constructor for class commoble.databuddy.codec.SetCodecHelper
SHORT - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
SimpleJsonDataManager<T> - Class in commoble.databuddy.data
  Class for loading JSON resources that don't require anything more complicated than a basic GSON parser
SimpleJsonDataManager(String, Class<T>) - Constructor for class commoble.databuddy.data.SimpleJsonDataManager
STRING - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
  Deprecated.
subscribe(ForgeConfigSpec.ConfigValue<T>) - Method in class commoble.databuddy.config.ConfigHelper.Subscriber
  Subscribe a config value to the config reload event.
subscribeAsSyncable(SimpleChannel, Function<Map<ResourceLocation, FINE>, PACKET>) - Method in class commoble.databuddy.data.MergeableJsonDataManager
  This should be called at most once, in a mod constructor.

## T

toString() - Method in class commoble.databuddy.codec.VariatingCodec

## U

update() - Method in class commoble.databuddy.config.ConfigHelper.ConfigValueListener

## V

VariatingCodec<K,V> - Class in commoble.databuddy.codec
  Like KeyDispatchCodec, but subtly different.
VariatingCodec(String, Codec<K>, Function<K, ? extends DataResult<? extends Decoder<? extends V>>>, Function<K, ? extends DataResult<? extends Encoder<V>>>) - Constructor for class commoble.databuddy.codec.VariatingCodec
VariatingCodec.NoopWrapperCodec<K,V> - Class in commoble.databuddy.codec

## W

write(List<ENTRY>, CompoundNBT) - Method in class commoble.databuddy.nbt.NBTListCodec
  Deprecated.
  Given a list and a CompoundNBT,writes the contents of that list into the NBT The same CompoundNBT can be given to this.read to retrieve that map
write(Map<KEY, VALUE>, CompoundNBT) - Method in class commoble.databuddy.nbt.NBTMapCodec
  Deprecated.
  Given a map and a CompoundNBT, writes the map into the NBT The same compoundNBT can be given to this.read to retrieve that map

A B C D E F G I J K L M N O P R S T U V W