Class SplashTextResourceSupplier

java.lang.Object
net.minecraft.resource.SinglePreparationResourceReloader<List<String>>
net.minecraft.client.resource.SplashTextResourceSupplier
All Implemented Interfaces:
ResourceReloader

@Environment(CLIENT) public class SplashTextResourceSupplier extends SinglePreparationResourceReloader<List<String>>
Mappings:
Namespace Name
official gfo
intermediary net/minecraft/class_4008
named net/minecraft/client/resource/SplashTextResourceSupplier
  • Field Details

    • RESOURCE_ID

      private static final Identifier RESOURCE_ID
      Mappings:
      Namespace Name Mixin selector
      official a Lgfo;a:Lahg;
      intermediary field_17904 Lnet/minecraft/class_4008;field_17904:Lnet/minecraft/class_2960;
      named RESOURCE_ID Lnet/minecraft/client/resource/SplashTextResourceSupplier;RESOURCE_ID:Lnet/minecraft/util/Identifier;
    • RANDOM

      private static final Random RANDOM
      Mappings:
      Namespace Name Mixin selector
      official b Lgfo;b:Lauv;
      intermediary field_17905 Lnet/minecraft/class_4008;field_17905:Lnet/minecraft/class_5819;
      named RANDOM Lnet/minecraft/client/resource/SplashTextResourceSupplier;RANDOM:Lnet/minecraft/util/math/random/Random;
    • splashTexts

      private final List<String> splashTexts
      Mappings:
      Namespace Name Mixin selector
      official c Lgfo;c:Ljava/util/List;
      intermediary field_17906 Lnet/minecraft/class_4008;field_17906:Ljava/util/List;
      named splashTexts Lnet/minecraft/client/resource/SplashTextResourceSupplier;splashTexts:Ljava/util/List;
    • session

      private final Session session
      Mappings:
      Namespace Name Mixin selector
      official d Lgfo;d:Levx;
      intermediary field_18934 Lnet/minecraft/class_4008;field_18934:Lnet/minecraft/class_320;
      named session Lnet/minecraft/client/resource/SplashTextResourceSupplier;session:Lnet/minecraft/client/session/Session;
  • Constructor Details

    • SplashTextResourceSupplier

      public SplashTextResourceSupplier(Session session)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lgfo;<init>(Levx;)V
      intermediary <init> Lnet/minecraft/class_4008;<init>(Lnet/minecraft/class_320;)V
      named <init> Lnet/minecraft/client/resource/SplashTextResourceSupplier;<init>(Lnet/minecraft/client/session/Session;)V
  • Method Details

    • prepare

      protected List<String> prepare(ResourceManager resourceManager, Profiler profiler)
      Description copied from class: SinglePreparationResourceReloader
      Prepares the intermediate object.

      This method is called in the prepare executor in a reload.

      Specified by:
      prepare in class SinglePreparationResourceReloader<List<String>>
      Parameters:
      resourceManager - the resource manager
      profiler - the prepare profiler
      Returns:
      the prepared object
      Mappings:
      Namespace Name Mixin selector
      official a Lgfo;a(Laqi;Lbgs;)Ljava/util/List;
      intermediary method_18176 Lnet/minecraft/class_4008;method_18176(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Ljava/util/List;
      named prepare Lnet/minecraft/client/resource/SplashTextResourceSupplier;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Ljava/util/List;
    • apply

      protected void apply(List<String> list, 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<List<String>>
      Parameters:
      list - the prepared object
      resourceManager - the resource manager
      profiler - the apply profiler
      Mappings:
      Namespace Name Mixin selector
      official a Lgfo;a(Ljava/util/List;Laqi;Lbgs;)V
      intermediary method_18175 Lnet/minecraft/class_4008;method_18175(Ljava/util/List;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      named apply Lnet/minecraft/client/resource/SplashTextResourceSupplier;apply(Ljava/util/List;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
    • get

      Mappings:
      Namespace Name Mixin selector
      official a Lgfo;a()Leyk;
      intermediary method_18174 Lnet/minecraft/class_4008;method_18174()Lnet/minecraft/class_8519;
      named get Lnet/minecraft/client/resource/SplashTextResourceSupplier;get()Lnet/minecraft/client/gui/screen/SplashTextRenderer;