Package net.minecraftforge.common.data
Class ForgeBlockTagsProvider
java.lang.Object
net.minecraft.data.TagsProvider<Block>
net.minecraft.data.BlockTagsProvider
net.minecraftforge.common.data.ForgeBlockTagsProvider
- All Implemented Interfaces:
IDataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.data.TagsProvider
TagsProvider.Builder<T>
-
Field Summary
Fields inherited from class net.minecraft.data.TagsProvider
builders, existingFileHelper, folder, generator, modId, registry
Fields inherited from interface net.minecraft.data.IDataProvider
SHA1
-
Constructor Summary
ConstructorsConstructorDescriptionForgeBlockTagsProvider
(DataGenerator gen, ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
addColored
(Consumer<Block> consumer, ITag.INamedTag<Block> group, String pattern) void
addTags()
private ITag.INamedTag<Block>
getForgeTag
(String name) getName()
Methods inherited from class net.minecraft.data.BlockTagsProvider
getPath
Methods inherited from class net.minecraft.data.TagsProvider
getOrCreateRawBuilder, getTagFolder, run, tag
-
Constructor Details
-
ForgeBlockTagsProvider
-
-
Method Details
-
addTags
public void addTags()- Overrides:
addTags
in classBlockTagsProvider
-
addColored
-
getForgeTag
-
getName
- Specified by:
getName
in interfaceIDataProvider
- Overrides:
getName
in classBlockTagsProvider
-