Package net.minecraft.tags
Class TagCollectionReader<T>
java.lang.Object
net.minecraft.tags.TagCollectionReader<T>
-
Field Summary
-
Constructor Summary
ConstructorDescriptionTagCollectionReader
(Function<ResourceLocation, Optional<T>> p_i241899_1_, String p_i241899_2_, String p_i241899_3_) -
Method Summary
Modifier and TypeMethodDescriptionload
(Map<ResourceLocation, ITag.Builder> p_242226_1_) prepare
(IResourceManager p_242224_1_, Executor p_242224_2_)
-
Field Details
-
LOGGER
private static final org.apache.logging.log4j.Logger LOGGER -
GSON
private static final com.google.gson.Gson GSON -
PATH_SUFFIX_LENGTH
private static final int PATH_SUFFIX_LENGTH -
idToValue
-
directory
-
name
-
-
Constructor Details
-
TagCollectionReader
-
-
Method Details
-
prepare
public CompletableFuture<Map<ResourceLocation,ITag.Builder>> prepare(IResourceManager p_242224_1_, Executor p_242224_2_) -
load
-