net.minecraft.data.tags

public abstract class TagsProvider<T>

implements DataProvider

qp
net.minecraft.data.tags.TagsProvider
net.minecraft.class_2474
net.minecraft.data.server.tag.TagProvider

Field summary

Modifier and TypeField
protected final PackOutput$PathProvider
e
pathProvider
field_39380
pathResolver
private final CompletableFuture<HolderLookup$Provider>
d
lookupProvider
field_43107
registriesFuture
private final CompletableFuture<Void>
g
contentsDone
field_43108
registryLoadFuture
private final CompletableFuture<TagsProvider$TagLookup<T>>
h
parentProvider
field_43093
parentTagLookupFuture
protected final ResourceKey<? extends Registry<T>>
f
registryKey
field_40957
registryRef
private final Map<ResourceLocation, TagBuilder>
i
builders
field_11481
tagBuilders

Constructor summary

ModifierConstructor
protected (PackOutput output, ResourceKey<? extends Registry<T>> registryRef, CompletableFuture<HolderLookup$Provider> registriesFuture)
protected (PackOutput output, ResourceKey<? extends Registry<T>> registryRef, CompletableFuture<HolderLookup$Provider> registriesFuture, CompletableFuture<TagsProvider$TagLookup<T>> parentTagLookupFuture)

Method summary

Modifier and TypeMethod
public final String
a()
getName()
method_10321()
getName()
protected abstract void
a(js$a arg0)
addTags(HolderLookup$Provider arg0)
method_10514(class_7225$class_7874 arg0)
configure(RegistryWrapper$WrapperLookup registries)
public CompletableFuture<?>
a(mf arg0)
run(CachedOutput arg0)
method_10319(class_7403 arg0)
run(DataWriter arg0)
protected TagsProvider$TagAppender<T>
b(ayk<T> arg0)
tag(TagKey<T> arg0)
method_10512(class_6862<T> arg0)
getOrCreateTagBuilder(TagKey<T> tag)
protected TagBuilder
c(ayk<T> arg0)
getOrCreateRawBuilder(TagKey<T> arg0)
method_27169(class_6862<T> arg0)
getTagBuilder(TagKey<T> tag)
public CompletableFuture<TagsProvider$TagLookup<T>>
c()
contentsGetter()
method_49662()
getTagLookupFuture()
protected CompletableFuture<HolderLookup$Provider>
b()
createContentsProvider()
method_49651()
getRegistriesFuture()