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
official ftw
intermediary net/minecraft/class_1069
named net/minecraft/client/resource/GrassColormapResourceSupplier
  • Field Details

    • GRASS_COLORMAP_LOC

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

    • GrassColormapResourceSupplier

      public GrassColormapResourceSupplier()
  • Method Details

    • tryLoad

      protected int[] tryLoad(ResourceManager resourceManager, Profiler profiler)
      Mappings:
      Namespace Name Mixin selector
      official a Lftw;a(Lalh;Lbao;)[I
      intermediary method_18662 Lnet/minecraft/class_1069;method_18662(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)[I
      named tryLoad Lnet/minecraft/client/resource/GrassColormapResourceSupplier;tryLoad(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)[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
      official a Lftw;a([ILalh;Lbao;)V
      intermediary method_18661 Lnet/minecraft/class_1069;method_18661([ILnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      named apply Lnet/minecraft/client/resource/GrassColormapResourceSupplier;apply([ILnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V