Package net.minecraft.tags
Class TagLoader<T>
java.lang.Object
net.minecraft.tags.TagLoader<T>
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
(package private) static final record
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild
(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) private com.mojang.datafixers.util.Either<Collection<TagLoader.EntryWithSource>,
Collection<T>> build
(TagEntry.Lookup<T> p_215979_, List<TagLoader.EntryWithSource> p_215980_) load
(ResourceManager p_144496_) loadAndBuild
(ResourceManager p_203901_)
-
Field Details
-
LOGGER
private static final org.slf4j.Logger LOGGER -
idToValue
-
directory
-
-
Constructor Details
-
TagLoader
-
-
Method Details
-
load
-
build
private com.mojang.datafixers.util.Either<Collection<TagLoader.EntryWithSource>,Collection<T>> build(TagEntry.Lookup<T> p_215979_, List<TagLoader.EntryWithSource> p_215980_) -
build
public Map<ResourceLocation,Collection<T>> build(Map<ResourceLocation, List<TagLoader.EntryWithSource>> p_203899_) -
loadAndBuild
-