mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-22 05:02:18 +00:00
Cleanup Tag Loading, this migrates thins to more of a vanilla style. (#7898)
This commit is contained in:
1 parent
a336e443f7
commit
d17f10d80c
27 files changed
+178
-590
No files matched your search
@@ -36,6 +36,7 @@ import net.minecraftforge.registries.IForgeRegistryEntry;
|
||||
|
||||
public abstract class ForgeRegistryTagsProvider<T extends IForgeRegistryEntry<T>> extends TagsProvider<T>
|
||||
{
|
||||
//TODO add game event tags here when they become a forge registry
|
||||
//Special handling for vanilla tag types in case someone decides to use the ForgeRegistryTagsProvider instead of one of the vanilla subtypes
|
||||
private static final Map<IForgeRegistry<?>, String> vanillaTypes = ImmutableMap.<IForgeRegistry<?>, String>builder()
|
||||
.put(ForgeRegistries.BLOCKS, "blocks")
|
||||
|
||||
Reference in new issue
Block a user