public abstract class CommonTagsProvider<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>> extends CommonProvider
Modifier and Type | Field and Description |
---|---|
protected net.minecraftforge.registries.IForgeRegistry<T> |
registry |
protected java.util.Map<net.minecraft.tags.Tag<T>,net.minecraft.tags.Tag.Builder<T>> |
tagToBuilder |
Modifier | Constructor and Description |
---|---|
protected |
CommonTagsProvider(GenerationData data,
net.minecraftforge.registries.IForgeRegistry<T> registry) |
Modifier and Type | Method and Description |
---|---|
void |
act(net.minecraft.data.DirectoryCache cache) |
protected net.minecraft.tags.Tag.Builder<T> |
getBuilder(net.minecraft.tags.Tag<T> tag) |
protected abstract java.nio.file.Path |
makePath(net.minecraft.util.ResourceLocation location) |
protected abstract void |
registerTags() |
protected abstract void |
setCollection(net.minecraft.tags.TagCollection<T> collection) |
mcLoc, modLoc, resolveAssets, resolveData, resolveModAssets, resolveModData, write, write, write
protected final net.minecraftforge.registries.IForgeRegistry<T extends net.minecraftforge.registries.IForgeRegistryEntry<T>> registry
protected CommonTagsProvider(GenerationData data, net.minecraftforge.registries.IForgeRegistry<T> registry)
protected abstract void registerTags()
public void act(net.minecraft.data.DirectoryCache cache)
protected abstract void setCollection(net.minecraft.tags.TagCollection<T> collection)
protected abstract java.nio.file.Path makePath(net.minecraft.util.ResourceLocation location)