net.minecraft.data.tag

public abstract class TagProvider<T>

implements DataProvider

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

Field summary

Modifier and TypeField
protected final DataOutput$PathResolver
pathProvider
field_39380
pathResolver
private final CompletableFuture<RegistryWrapper$WrapperLookup>
lookupProvider
field_43107
registriesFuture
private final CompletableFuture<Void>
contentsDone
field_43108
registryLoadFuture
private final CompletableFuture<TagProvider$TagLookup<T>>
parentProvider
field_43093
parentTagLookupFuture
protected final RegistryKey<? extends Registry<T>>
registryKey
field_40957
registryRef
private final Map<Identifier, TagBuilder>
builders
field_11481
tagBuilders

Constructor summary

ModifierConstructor
protected (DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper$WrapperLookup> registriesFuture)
protected (DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper$WrapperLookup> registriesFuture, CompletableFuture<TagProvider$TagLookup<T>> parentTagLookupFuture)

Method summary

Modifier and TypeMethod
public final String
getName()
method_10321()
getName()
protected abstract void
addTags(HolderLookup$Provider registries)
method_10514(class_7225$class_7874 arg0)
configure(RegistryWrapper$WrapperLookup registries)
public CompletableFuture<?>
run(CachedOutput cache)
method_10319(class_7403 arg0)
run(DataWriter arg0)
protected TagBuilder
getOrCreateRawBuilder(TagKey<T> tag)
method_27169(class_6862<T> arg0)
getTagBuilder(TagKey<T> tag)
public CompletableFuture<TagProvider$TagLookup<T>>
contentsGetter()
method_49662()
getTagLookupFuture()
protected CompletableFuture<RegistryWrapper$WrapperLookup>
createContentsProvider()
method_49651()
getRegistriesFuture()
protected ProvidedTagBuilder<T>
tag(TagKey<T> tag)
method_1_4755(class_6862<T> arg0)
builder(TagKey<T> key)
protected ProvidedTagBuilder<T>
tag(TagKey<T> tag, boolean replace)
method_1_4756(class_6862<T> arg0, boolean arg1)
builder(TagKey<T> key, boolean replace)
private RegistryWrapper$WrapperLookup
lambda$createContentsProvider$0(HolderLookup$Provider arg0)
method_49706(class_7225$class_7874 arg0)
method_49706(RegistryWrapper$WrapperLookup registries)
private TagProvider$TagLookup
lambda$contentsGetter$0(Void arg0)
method_49661(Void arg0)
method_49661(Void void_)
private Optional
lambda$contentsGetter$1(TagKey arg0)
method_49656(class_6862 arg0)
method_49656(TagKey tag)
private static TagBuilder
lambda$getOrCreateRawBuilder$0(Identifier arg0)
method_27170(class_2960 arg0)
method_27170(Identifier id)
private CompletionStage
lambda$run$2(CachedOutput arg0, TagsProvider$1CombinedData arg1)
method_49659(class_7403 arg0, class_2474$class_8210 arg1)
method_49659(DataWriter arg0, TagProvider$RegistryInfo info)
private static CompletableFuture[]
lambda$run$7(int arg0)
method_46590(int arg0)
method_46590(int arg0)
private CompletableFuture
lambda$run$5(Predicate arg0, Predicate arg1, CachedOutput arg2, TagsProvider$1CombinedData arg3, Map$Entry arg4)
method_27046(Predicate arg0, Predicate arg1, class_7403 arg2, class_2474$class_8210 arg3, Map$Entry arg4)
method_27046(Predicate arg0, Predicate arg1, DataWriter arg2, TagProvider$RegistryInfo arg3, Map$Entry entry)
private static boolean
lambda$run$6(Predicate arg0, Predicate arg1, TagEntry arg2)
method_49658(Predicate arg0, Predicate arg1, class_3497 arg2)
method_49658(Predicate arg0, Predicate arg1, TagEntry tagEntry)
private boolean
lambda$run$4(TagsProvider$1CombinedData arg0, Identifier arg1)
method_49660(class_2474$class_8210 arg0, class_2960 arg1)
method_49660(TagProvider$RegistryInfo arg0, Identifier id)
private boolean
lambda$run$3(HolderLookup$RegistryLookup arg0, Identifier arg1)
method_46832(class_7225$class_7226 arg0, class_2960 arg1)
method_46832(RegistryWrapper$Impl arg0, Identifier id)
private static TagProvider$RegistryInfo
lambda$run$1(HolderLookup$Provider arg0, TagsProvider$TagLookup arg1)
method_49657(class_7225$class_7874 arg0, class_2474$class_8211 arg1)
method_49657(RegistryWrapper$WrapperLookup registries, TagProvider$TagLookup parent)
private RegistryWrapper$WrapperLookup
lambda$run$0(HolderLookup$Provider arg0)
method_49707(class_7225$class_7874 arg0)
method_49707(RegistryWrapper$WrapperLookup registriesFuture)