Package net.minecraftforge.common.data
Class ForgeBlockTagsProvider
java.lang.Object
net.minecraft.data.tags.TagsProvider<T>
net.minecraft.data.tags.IntrinsicHolderTagsProvider<Block>
net.minecraftforge.common.data.BlockTagsProvider
net.minecraftforge.common.data.ForgeBlockTagsProvider
- All Implemented Interfaces:
DataProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.data.tags.IntrinsicHolderTagsProvider
IntrinsicHolderTagsProvider.IntrinsicTagAppender<T>
Nested classes/interfaces inherited from class net.minecraft.data.tags.TagsProvider
TagsProvider.TagAppender<T>, TagsProvider.TagLookup<T>
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Fields inherited from class net.minecraft.data.tags.TagsProvider
builders, existingFileHelper, modId, pathProvider, registryKey
Fields inherited from interface net.minecraft.data.DataProvider
FIXED_ORDER_FIELDS, KEY_COMPARATOR
-
Constructor Summary
ConstructorsConstructorDescriptionForgeBlockTagsProvider
(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, @Nullable ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionprivate void
void
addTags
(HolderLookup.Provider p_256380_) getForgeTag
(String name) getName()
Methods inherited from class net.minecraft.data.tags.IntrinsicHolderTagsProvider
tag
Methods inherited from class net.minecraft.data.tags.TagsProvider
contentsGetter, createContentsProvider, getOrCreateRawBuilder, getPath, run
-
Constructor Details
-
ForgeBlockTagsProvider
public ForgeBlockTagsProvider(PackOutput output, CompletableFuture<HolderLookup.Provider> lookupProvider, @Nullable @Nullable ExistingFileHelper existingFileHelper)
-
-
Method Details
-
addTags
- Specified by:
addTags
in classTagsProvider<Block>
-
addColored
-
getForgeTag
-
getName
- Specified by:
getName
in interfaceDataProvider
- Overrides:
getName
in classTagsProvider<Block>
-