public abstract class ForgeRegistryTagsProvider<T extends IForgeRegistryEntry<T>> extends TagsProvider<T>
TagsProvider.Builder<T>
Modifier and Type | Field and Description |
---|---|
private static java.util.Map<IForgeRegistry<?>,java.lang.String> |
vanillaTypes |
builders, existingFileHelper, folder, generator, modId, registry
SHA1
Constructor and Description |
---|
ForgeRegistryTagsProvider(DataGenerator generatorIn,
IForgeRegistry<T> registryIn,
java.lang.String modId,
ExistingFileHelper existingFileHelper) |
Modifier and Type | Method and Description |
---|---|
protected java.nio.file.Path |
getPath(ResourceLocation id) |
private static <T extends IForgeRegistryEntry<T>> |
getTagFolder(IForgeRegistry<T> registryIn) |
private static <T extends IForgeRegistryEntry<T>> |
wrapRegistry(IForgeRegistry<T> registryIn) |
addTags, getOrCreateRawBuilder, getTagFolder, run, tag
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, save
private static final java.util.Map<IForgeRegistry<?>,java.lang.String> vanillaTypes
public ForgeRegistryTagsProvider(DataGenerator generatorIn, IForgeRegistry<T> registryIn, java.lang.String modId, @Nullable ExistingFileHelper existingFileHelper)
private static <T extends IForgeRegistryEntry<T>> Registry<T> wrapRegistry(IForgeRegistry<T> registryIn)
private static <T extends IForgeRegistryEntry<T>> java.lang.String getTagFolder(IForgeRegistry<T> registryIn)
protected java.nio.file.Path getPath(ResourceLocation id)
getPath
in class TagsProvider<T extends IForgeRegistryEntry<T>>