A B C D F G I J L M N P R S 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

## B

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

## C

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

## 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
DOUBLE - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType

## F

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

## G

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

## I

INTEGER - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
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

## L

LIST - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
ListNBTType(int, NBTListCodec.ListReader<RAW>, Function<RAW, INBT>) - Constructor for class commoble.databuddy.nbt.NBTListCodec.ListNBTType
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

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
  Helper class for converting lists or list-like collections of arbitrary data to NBT and back.
NBTListCodec(String, NBTListCodec.ListNBTType<RAW>, Function<ENTRY, RAW>, Function<RAW, ENTRY>) - Constructor for class commoble.databuddy.nbt.NBTListCodec
NBTListCodec.ListNBTType<RAW> - Class in commoble.databuddy.nbt
NBTListCodec.ListReader<T> - Interface in commoble.databuddy.nbt
  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
  Helper class for writing a Map into a CompoundNBT
NBTMapCodec(String, BiConsumer<CompoundNBT, KEY>, Function<CompoundNBT, KEY>, BiConsumer<CompoundNBT, VALUE>, Function<CompoundNBT, VALUE>) - Constructor for class commoble.databuddy.nbt.NBTMapCodec

## 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
  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
  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

## S

SHORT - Static variable in class commoble.databuddy.nbt.NBTListCodec.ListNBTType
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
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.

## W

write(List<ENTRY>, CompoundNBT) - Method in class commoble.databuddy.nbt.NBTListCodec
  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
  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 F G I J L M N P R S W