Class JsonCodecProvider<T>

java.lang.Object
net.neoforged.neoforge.common.data.JsonCodecProvider<T>
Type Parameters:
T - the type of thing being generated.
All Implemented Interfaces:
DataProvider
Direct Known Subclasses:
SpriteSourceProvider

public abstract class JsonCodecProvider<T> extends Object implements DataProvider

Dataprovider for using a Codec to generate jsons. Path names for jsons are derived from the given registry folder and each entry's namespaced id, in the format:

 <assets/data>/entryid/registryfolder/entrypath.json