Class FabricTagProvider.BlockEntityTypeTagProvider
java.lang.Object
net.minecraft.data.server.tag.TagProvider<BlockEntityType<?>>
net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider<BlockEntityType<?>>
net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider.BlockEntityTypeTagProvider
- All Implemented Interfaces:
DataProvider
- Enclosing class:
FabricTagProvider<T>
public abstract static class FabricTagProvider.BlockEntityTypeTagProvider
extends FabricTagProvider<BlockEntityType<?>>
Extend this class to create
BlockEntityType
tags in the "/block_entity_type" tag directory.-
Nested Class Summary
Nested classes/interfaces inherited from class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
FabricTagProvider.BlockEntityTypeTagProvider, FabricTagProvider.BlockTagProvider, FabricTagProvider.EnchantmentTagProvider, FabricTagProvider.EntityTypeTagProvider, FabricTagProvider.FabricTagBuilder, FabricTagProvider.FluidTagProvider, FabricTagProvider.ItemTagProvider
Nested classes/interfaces inherited from class net.minecraft.data.server.tag.TagProvider
TagProvider.ProvidedTagBuilder<T>, TagProvider.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.server.tag.TagProvider
pathResolver, registryRef
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ConstructorDescriptionBlockEntityTypeTagProvider
(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> completableFuture) -
Method Summary
Modifier and TypeMethodDescriptionprotected RegistryKey
<BlockEntityType<?>> reverseLookup
(BlockEntityType<?> element) Override to enable adding objects to the tag builder directly.Methods inherited from class net.fabricmc.fabric.api.datagen.v1.provider.FabricTagProvider
configure, getOrCreateTagBuilder
Methods inherited from class net.minecraft.data.server.tag.TagProvider
getName, getRegistryLookupFuture, getTagBuilder, getTagLookupFuture, run
-
Constructor Details
-
BlockEntityTypeTagProvider
public BlockEntityTypeTagProvider(FabricDataOutput output, CompletableFuture<RegistryWrapper.WrapperLookup> completableFuture)
-
-
Method Details
-
reverseLookup
Description copied from class:FabricTagProvider
Override to enable adding objects to the tag builder directly.- Overrides:
reverseLookup
in classFabricTagProvider<BlockEntityType<?>>
-