Package net.minecraft.data.server.tag
Class ValueLookupTagProvider<T>
java.lang.Object
net.minecraft.data.server.tag.TagProvider<T>
net.minecraft.data.server.tag.ValueLookupTagProvider<T>
- All Implemented Interfaces:
DataProvider
- Direct Known Subclasses:
ItemTagProvider
,OneTwentyOneBlockTagProvider
,OneTwentyOneEntityTypeTagProvider
,VanillaBlockTagProvider
,VanillaEntityTypeTagProvider
,VanillaFluidTagProvider
,VanillaGameEventTagProvider
- Mappings:
Namespace Name official of
intermediary net/minecraft/class_7889
named net/minecraft/data/server/tag/ValueLookupTagProvider
-
Nested Class Summary
Nested classes/interfaces inherited from class net.minecraft.data.server.tag.TagProvider
TagProvider.ProvidedTagBuilder<T>, TagProvider.TagLookup<T>
Nested classes/interfaces inherited from interface net.minecraft.data.DataProvider
DataProvider.Factory<T extends DataProvider>
-
Field Summary
Fields inherited from class net.minecraft.data.server.tag.TagProvider
pathResolver, registryRef
Fields inherited from interface net.minecraft.data.DataProvider
JSON_KEY_SORT_ORDER, JSON_KEY_SORTING_COMPARATOR
-
Constructor Summary
ConstructorDescriptionValueLookupTagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture, Function<T, RegistryKey<T>> valueToKey) ValueLookupTagProvider
(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, Function<T, RegistryKey<T>> valueToKey) -
Method Summary
Modifier and TypeMethodDescriptionprotected ValueLookupTagProvider.ObjectBuilder<T>
getOrCreateTagBuilder
(TagKey<T> tagKey) Methods inherited from class net.minecraft.data.server.tag.TagProvider
configure, getName, getRegistryLookupFuture, getTagBuilder, getTagLookupFuture, run
-
Field Details
-
valueToKey
- Mappings:
Namespace Name Mixin selector official d
Lof;d:Ljava/util/function/Function;
intermediary field_40954
Lnet/minecraft/class_7889;field_40954:Ljava/util/function/Function;
named valueToKey
Lnet/minecraft/data/server/tag/ValueLookupTagProvider;valueToKey:Ljava/util/function/Function;
-
-
Constructor Details
-
ValueLookupTagProvider
public ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, Function<T, RegistryKey<T>> valueToKey) - Mappings:
Namespace Name Mixin selector official <init>
Lof;<init>(Lkm;Lahf;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7889;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_5321;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/data/server/tag/ValueLookupTagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
-
ValueLookupTagProvider
public ValueLookupTagProvider(DataOutput output, RegistryKey<? extends Registry<T>> registryRef, CompletableFuture<RegistryWrapper.WrapperLookup> registryLookupFuture, CompletableFuture<TagProvider.TagLookup<T>> parentTagLookupFuture, Function<T, RegistryKey<T>> valueToKey) - Mappings:
Namespace Name Mixin selector official <init>
Lof;<init>(Lkm;Lahf;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
intermediary <init>
Lnet/minecraft/class_7889;<init>(Lnet/minecraft/class_7784;Lnet/minecraft/class_5321;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
named <init>
Lnet/minecraft/data/server/tag/ValueLookupTagProvider;<init>(Lnet/minecraft/data/DataOutput;Lnet/minecraft/registry/RegistryKey;Ljava/util/concurrent/CompletableFuture;Ljava/util/concurrent/CompletableFuture;Ljava/util/function/Function;)V
-
-
Method Details
-
getOrCreateTagBuilder
- Overrides:
getOrCreateTagBuilder
in classTagProvider<T>
- Mappings:
Namespace Name Mixin selector official a
Lof;a(Lasw;)Lof$a;
intermediary method_46827
Lnet/minecraft/class_7889;method_46827(Lnet/minecraft/class_6862;)Lnet/minecraft/class_7889$class_7890;
named getOrCreateTagBuilder
Lnet/minecraft/data/server/tag/ValueLookupTagProvider;getOrCreateTagBuilder(Lnet/minecraft/registry/tag/TagKey;)Lnet/minecraft/data/server/tag/ValueLookupTagProvider$ObjectBuilder;
-