net.minecraft.data.tags

public abstract class TagsProvider<T>

implements DataProvider

pz
net.minecraft.data.tags.TagsProvider
net.minecraft.class_2474
net.minecraft.data.server.tag.TagProvider
net.minecraft.src.C_4851_

Field summary

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

Constructor summary

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

Method summary

Modifier and TypeMethod
public final String
a()
getName()
method_10321()
getName()
m_6055_()
protected abstract void
a(jo$a arg0)
addTags(HolderLookup$Provider arg0)
method_10514(class_7225$class_7874 arg0)
configure(RegistryWrapper$WrapperLookup lookup)
m_6577_(C_213466_$C_254607_ arg0)
public CompletableFuture<?>
a(ly arg0)
run(CachedOutput arg0)
method_10319(class_7403 arg0)
run(DataWriter arg0)
m_213708_(C_213475_ arg0)
protected TagsProvider$TagAppender<T>
b(awu<T> arg0)
tag(TagKey<T> arg0)
method_10512(class_6862<T> arg0)
getOrCreateTagBuilder(TagKey<T> tag)
m_206424_(C_203208_<T> arg0)
protected TagBuilder
c(awu<T> arg0)
getOrCreateRawBuilder(TagKey<T> arg0)
method_27169(class_6862<T> arg0)
getTagBuilder(TagKey<T> tag)
m_236451_(C_203208_<T> arg0)
public CompletableFuture<TagsProvider$TagLookup<T>>
c()
contentsGetter()
method_49662()
getTagLookupFuture()
m_274426_()
protected CompletableFuture<HolderLookup$Provider>
b()
createContentsProvider()
method_49651()
getRegistryLookupFuture()
m_274574_()