Package net.minecraft.data.server.tag
Class AbstractTagProvider<T>
java.lang.Object
net.minecraft.data.server.tag.AbstractTagProvider<T>
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
BannerPatternTagProvider
,BiomeTagProvider
,CatVariantTagProvider
,FlatLevelGeneratorPresetTagProvider
,InstrumentTagProvider
,PaintingVariantTagProvider
,PointOfInterestTypeTagProvider
,StructureTagProvider
,ValueLookupTagProvider
,WorldPresetTagProvider
- Mappings:
Namespace Name official mv
intermediary net/minecraft/class_2474
named net/minecraft/data/server/tag/AbstractTagProvider
-
Nested Class Summary
Modifier and TypeClassDescriptionprotected static class
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final Logger
protected final DataOutput.PathResolver
protected 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
AbstractTagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract void
final String
getName()
protected AbstractTagProvider.ProvidedTagBuilder<T>
getOrCreateTagBuilder
(TagKey<T> tag) protected TagBuilder
getTagBuilder
(TagKey<T> tag) run
(DataWriter writer)
-
Field Details
-
LOGGER
- Mappings:
Namespace Name Mixin selector official d
Lmv;d:Lorg/slf4j/Logger;
intermediary field_11479
Lnet/minecraft/class_2474;field_11479:Lorg/slf4j/Logger;
named LOGGER
Lnet/minecraft/data/server/tag/AbstractTagProvider;LOGGER:Lorg/slf4j/Logger;
-
pathResolver
- Mappings:
Namespace Name Mixin selector official e
Lmv;e:Ljf$a;
intermediary field_39380
Lnet/minecraft/class_2474;field_39380:Lnet/minecraft/class_7784$class_7489;
named pathResolver
Lnet/minecraft/data/server/tag/AbstractTagProvider;pathResolver:Lnet/minecraft/data/DataOutput$PathResolver;
-
registryLookupFuture
- Mappings:
Namespace Name Mixin selector official f
Lmv;f:Ljava/util/concurrent/CompletableFuture;
intermediary field_40956
Lnet/minecraft/class_2474;field_40956:Ljava/util/concurrent/CompletableFuture;
named registryLookupFuture
Lnet/minecraft/data/server/tag/AbstractTagProvider;registryLookupFuture:Ljava/util/concurrent/CompletableFuture;
-
registryRef
- Mappings:
Namespace Name Mixin selector official g
Lmv;g:Lace;
intermediary field_40957
Lnet/minecraft/class_2474;field_40957:Lnet/minecraft/class_5321;
named registryRef
Lnet/minecraft/data/server/tag/AbstractTagProvider;registryRef:Lnet/minecraft/registry/RegistryKey;
-
tagBuilders
- Mappings:
Namespace Name Mixin selector official h
Lmv;h:Ljava/util/Map;
intermediary field_11481
Lnet/minecraft/class_2474;field_11481:Ljava/util/Map;
named tagBuilders
Lnet/minecraft/data/server/tag/AbstractTagProvider;tagBuilders:Ljava/util/Map;
-
-
Constructor Details
-
AbstractTagProvider
protected AbstractTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture) - Mappings:
Namespace Name Mixin selector official <init>
Lmv;<init>(Ljf;Lace;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/AbstractTagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;)V
-
-
Method Details
-
getName
- Specified by:
getName
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Ljd;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
Lmv;a(Lhb$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/AbstractTagProvider;configure(Lnet/minecraft/registry/RegistryWrapper$WrapperLookup;)V
-
run
- Specified by:
run
in interfaceDataProvider
- Mappings:
Namespace Name Mixin selector official a
Ljd;a(Ljb;)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
Lmv;b(Lamr;)Lmv$a;
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/AbstractTagProvider;getOrCreateTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/tag/AbstractTagProvider$ProvidedTagBuilder;
-
getTagBuilder
- Mappings:
Namespace Name Mixin selector official c
Lmv;c(Lamr;)Lamo;
intermediary method_27169
Lnet/minecraft/class_2474;method_27169(Lnet/minecraft/class_6862;)Lnet/minecraft/class_3495;
named getTagBuilder
Lnet/minecraft/data/server/tag/AbstractTagProvider;getTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/registry/tag/TagBuilder;
-