Package net.minecraft.data.server.tag
Class TagProvider<T>
java.lang.Object
net.minecraft.data.server.tag.TagProvider<T>
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
OneTwentyBiomeTagProvider
,ValueLookupTagProvider
,VanillaBannerPatternTagProvider
,VanillaBiomeTagProvider
,VanillaCatVariantTagProvider
,VanillaDamageTypeTagProvider
,VanillaFlatLevelGeneratorPresetTagProvider
,VanillaInstrumentTagProvider
,VanillaPaintingVariantTagProvider
,VanillaPointOfInterestTypeTagProvider
,VanillaStructureTagProvider
,VanillaWorldPresetTagProvider
- Mappings:
Namespace Name official nj
intermediary net/minecraft/class_2474
named net/minecraft/data/server/tag/TagProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
static interface
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
private final CompletableFuture<TagProvider.TagLookup<T>>
protected final DataOutput.PathResolver
private final CompletableFuture<Void>
private final CompletableFuture<RegistryWrapper.WrapperLookup>
protected final RegistryKey<? extends Registry<T>>
private final Map<Identifier,
TagBuilder> Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ModifierConstructorDescriptionprotected
TagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) protected
TagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
final String
getName()
protected TagProvider.ProvidedTagBuilder<T>
getOrCreateTagBuilder
(TagKey<T> tag) protected CompletableFuture<RegistryWrapper.WrapperLookup>
protected TagBuilder
getTagBuilder
(TagKey<T> tag) run
(DataWriter writer)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lnj;d:Lorg/slf4j/Logger;
intermediary field_11479
Lnet/minecraft/class_2474;field_11479:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/server/tag/TagProvider;LOGGER:Lorg/slf4j/Logger;
-
pathResolver
- Mappings:
Namespace Name Mixin selector official e
Lnj;e:Ljj$a;
intermediary field_39380
Lnet/minecraft/class_2474;field_39380:Lnet/minecraft/class_7784$class_7489;
named pathResolver
Lnet/minecraft/data/server/tag/TagProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
-
registryLookupFuture
- Mappings:
Namespace Name Mixin selector official g
Lnj;g:Ljava/util/concurrent/CompletableFuture;
intermediary field_43107
Lnet/minecraft/class_2474;field_43107:Ljava/util/concurrent/CompletableFuture;
named registryLookupFuture
Lnet/minecraft/data/server/tag/TagProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
-
registryLoadFuture
- Mappings:
Namespace Name Mixin selector official h
Lnj;h:Ljava/util/concurrent/CompletableFuture;
intermediary field_43108
Lnet/minecraft/class_2474;field_43108:Ljava/util/concurrent/CompletableFuture;
named registryLoadFuture
Lnet/minecraft/data/server/tag/TagProvider;registryLoadFuture:Ljava/util/concurrent/CompletableFuture;
-
parentTagLookupFuture
- Mappings:
Namespace Name Mixin selector official i
Lnj;i:Ljava/util/concurrent/CompletableFuture;
intermediary field_43093
Lnet/minecraft/class_2474;field_43093:Ljava/util/concurrent/CompletableFuture;
named parentTagLookupFuture
Lnet/minecraft/data/server/tag/TagProvider;parentTagLookupFuture:Ljava/util/concurrent/CompletableFuture;
-
registryRef
- Mappings:
Namespace Name Mixin selector official f
Lnj;f:Ladc;
intermediary field_40957
Lnet/minecraft/class_2474;field_40957:Lnet/minecraft/class_5321;
named registryRef
Lnet/minecraft/data/server/tag/TagProvider;registryRef:Lnet/minecraft/registry/RegistryKey;
-
tagBuilders
- Mappings:
Namespace Name Mixin selector official j
Lnj;j:Ljava/util/Map;
intermediary field_11481
Lnet/minecraft/class_2474;field_11481:Ljava/util/Map;
named tagBuilders
Lnet/minecraft/data/server/tag/TagProvider;tagBuilders:Ljava/util/Map;
-
-
Constructor Details
-
TagProvider
protected TagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) - Mappings:
Namespace Name Mixin selector official <init>
Lnj;<init>(Ljj;Ladc;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_2474;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_5321;Ljava/util/concurrent/CompletableFuture;)V
named <init>
Lnet/minecraft/data/server/tag/TagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;)V
-
TagProvider
protected TagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture) - Mappings:
Namespace Name Mixin selector official <init>
Lnj;<init>(Ljj;Ladc;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
intermediary <init>
Lnet/minecraft/class_2474;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_5321;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
named <init>
Lnet/minecraft/data/server/tag/TagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Ljh;a()Ljava/lang/String;
intermediary method_10321
Lnet/minecraft/class_2405;method_10321()Ljava/lang/String;
named getName
Lnet/minecraft/data/DataProvider;getName()Ljava/lang/String;
-
configure
- Mappings:
Namespace Name Mixin selector official a
Lnj;a(Lhf$b;)V
intermediary method_10514
Lnet/minecraft/class_2474;method_10514(Lnet/minecraft/class_7225$class_7874;)V
named configure
Lnet/minecraft/data/server/tag/TagProvider;configure(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Ljh;a(Ljf;)Ljava/util/concurrent/CompletableFuture;
intermediary method_10319
Lnet/minecraft/class_2405;method_10319(Lnet/minecraft/class_7403;)Ljava/util/concurrent/CompletableFuture;
named run
Lnet/minecraft/data/DataProvider;run(Lnet/minecraft/data/DataWriter;)Ljava/util/concurrent/CompletableFuture;
-
getOrCreateTagBuilder
- Mappings:
Namespace Name Mixin selector official b
Lnj;b(Lanv;)Lnj$b;
intermediary method_10512
Lnet/minecraft/class_2474;method_10512(Lnet/minecraft/class_6862;)Lnet/minecraft/class_2474$class_5124;
named getOrCreateTagBuilder
Lnet/minecraft/data/server/tag/TagProvider;getOrCreateTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/tag/TagProvider$ProvidedTagBuilder;
-
getTagBuilder
- Mappings:
Namespace Name Mixin selector official c
Lnj;c(Lanv;)Lans;
intermediary method_27169
Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_6862;)Lnet/minecraft/class_3495;
named getTagBuilder
Lnet/minecraft/data/server/tag/TagProvider;getTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/tag/TagBuilder;
-
getTagLookupFuture
- Mappings:
Namespace Name Mixin selector official c
Lnj;c()Ljava/util/concurrent/CompletableFuture;
intermediary method_49662
Lnet/minecraft/class_2474;method_49662()Ljava/util/concurrent/CompletableFuture;
named getTagLookupFuture
Lnet/minecraft/data/server/tag/TagProvider;getTagLookupFuture()Ljava/util/concurrent/CompletableFuture;
-
getRegistryLookupFuture
- Mappings:
Namespace Name Mixin selector official b
Lnj;b()Ljava/util/concurrent/CompletableFuture;
intermediary method_49651
Lnet/minecraft/class_2474;method_49651()Ljava/util/concurrent/CompletableFuture;
named getRegistryLookupFuture
Lnet/minecraft/data/server/tag/TagProvider;getRegistryLookupFuture()Ljava/util/concurrent/CompletableFuture;
-