Package net.minecraft.data.tags
Class ItemTagsProvider
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
ForgeItemTagsProvider
,VanillaItemTagsProvider
-
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
FieldsFields 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
ConstructorsConstructorDescriptionItemTagsProvider
(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_) Deprecated.Forge: Use the mod id variantItemTagsProvider
(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_, String modId, ExistingFileHelper existingFileHelper) ItemTagsProvider
(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_) Deprecated.Forge: Use the mod id variantItemTagsProvider
(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_, String modId, ExistingFileHelper existingFileHelper) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
protected CompletableFuture<HolderLookup.Provider>
Methods inherited from class net.minecraft.data.tags.IntrinsicHolderTagsProvider
tag
Methods inherited from class net.minecraft.data.tags.TagsProvider
addTags, contentsGetter, getName, getOrCreateRawBuilder, getPath, run
-
Field Details
-
blockTags
-
tagsToCopy
-
-
Constructor Details
-
ItemTagsProvider
@Deprecated public ItemTagsProvider(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_) Deprecated.Forge: Use the mod id variant -
ItemTagsProvider
public ItemTagsProvider(PackOutput p_275343_, CompletableFuture<HolderLookup.Provider> p_275729_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275322_, String modId, @Nullable ExistingFileHelper existingFileHelper) -
ItemTagsProvider
@Deprecated public ItemTagsProvider(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_) Deprecated.Forge: Use the mod id variant -
ItemTagsProvider
public ItemTagsProvider(PackOutput p_275204_, CompletableFuture<HolderLookup.Provider> p_275194_, CompletableFuture<TagsProvider.TagLookup<Item>> p_275207_, CompletableFuture<TagsProvider.TagLookup<Block>> p_275634_, String modId, @Nullable ExistingFileHelper existingFileHelper)
-
-
Method Details
-
copy
-
createContentsProvider
- Overrides:
createContentsProvider
in classTagsProvider<Item>
-