Class GrassColormapResourceSupplier

java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<int[]>
net.minecraft.client.resource.GrassColormapResourceSupplier
All Implemented Interfaces:
ResourceReloader

@Environment(CLIENT) public class GrassColormapResourceSupplier extends SinglePreparationResourceReloader<int[]>
Mappings:
Namespace Name
named net/minecraft/client/resource/GrassColormapResourceSupplier
intermediary net/minecraft/class_1069
official grf
  • Field Details

    • GRASS_COLORMAP_LOC

      private static final Identifier GRASS_COLORMAP_LOC
      Mappings:
      Namespace Name Mixin selector
      named GRASS_COLORMAP_LOC Lnet/minecraft/client/resource/GrassColormapResourceSupplier;GRASS_COLORMAP_LOC:Lnet/minecraft/util/Identifier;
      intermediary field_5302 Lnet/minecraft/class_1069;field_5302:Lnet/minecraft/class_2960;
      official a Lgrf;a:Lakr;
  • Constructor Details

    • GrassColormapResourceSupplier

      public GrassColormapResourceSupplier()
  • Method Details

    • tryLoad

      protected int[] tryLoad(ResourceManager resourceManager, Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      named tryLoad Lnet/minecraft/client/resource/GrassColormapResourceSupplier;tryLoad(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)[I
      intermediary method_18662 Lnet/minecraft/class_1069;method_18662(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)[I
      official a Lgrf;a(Laue;Lbnf;)[I
    • apply

      protected void apply(int[] int2, ResourceManager resourceManager, Profiler profiler)
      Description copied from class: SinglePreparationResourceReloader
      Handles the prepared intermediate object.

      This method is called in the apply executor, or the game engine, in a reload.

      Specified by:
      apply in class SinglePreparationResourceReloader<int[]>
      Parameters:
      int2 - the prepared object
      resourceManager - the resource manager
      profiler - the apply profiler
      Mappings:
      Namespace Name Mixin selector
      named apply Lnet/minecraft/client/resource/GrassColormapResourceSupplier;apply([ILnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      intermediary method_18661 Lnet/minecraft/class_1069;method_18661([ILnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      official a Lgrf;a([ILaue;Lbnf;)V