Package net.minecraft.client.resource
Class FoliageColormapResourceSupplier
java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<int[]>
net.minecraft.client.resource.FoliageColormapResourceSupplier
- All Implemented Interfaces:
ResourceReloader
@Environment(CLIENT) public class FoliageColormapResourceSupplier extends SinglePreparationResourceReloader<int[]>
-
Nested Class Summary
Nested classes/interfaces inherited from interface net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer -
Field Summary
Fields Modifier and Type Field Description private static IdentifierFOLIAGE_COLORMAP -
Constructor Summary
Constructors Constructor Description FoliageColormapResourceSupplier() -
Method Summary
Modifier and Type Method Description protected voidapply(int[] int2, ResourceManager resourceManager, Profiler profiler)Handles the prepared intermediate object.protected int[]reload(ResourceManager resourceManager, Profiler profiler)Methods inherited from class net.minecraft.resource.SinglePreparationResourceReloader
prepare, reloadMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface net.minecraft.resource.ResourceReloader
getName
-
Field Details
-
FOLIAGE_COLORMAP
-
-
Constructor Details
-
FoliageColormapResourceSupplier
public FoliageColormapResourceSupplier()
-
-
Method Details
-
reload
-
apply
Description copied from class:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- Specified by:
applyin classSinglePreparationResourceReloader<int[]>- Parameters:
int2- the prepared objectresourceManager- the resource managerprofiler- the apply profiler
-