Package net.minecraft.client.resources
Class FoliageColorReloadListener
java.lang.Object
net.neoforged.neoforge.resource.ContextAwareReloadListener
net.minecraft.server.packs.resources.SimplePreparableReloadListener<int[]>
net.minecraft.client.resources.FoliageColorReloadListener
- All Implemented Interfaces:
PreparableReloadListener
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
PreparableReloadListener.PreparationBarrier -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidapply(int[] object, ResourceManager resourceManager, ProfilerFiller profiler) protected int[]prepare(ResourceManager resourceManager, ProfilerFiller profiler) Performs any reloading that can be done off-thread, such as file IOMethods inherited from class net.minecraft.server.packs.resources.SimplePreparableReloadListener
reloadMethods inherited from class net.neoforged.neoforge.resource.ContextAwareReloadListener
getContext, getRegistryLookup, injectContext, makeConditionalOps, makeConditionalOpsMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.server.packs.resources.PreparableReloadListener
getName
-
Field Details
-
LOCATION
-
-
Constructor Details
-
FoliageColorReloadListener
public FoliageColorReloadListener()
-
-
Method Details
-
prepare
Performs any reloading that can be done off-thread, such as file IO- Specified by:
preparein classSimplePreparableReloadListener<int[]>
-
apply
- Specified by:
applyin classSimplePreparableReloadListener<int[]>
-