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
named net/minecraft/client/resource/SplashTextResourceSupplier
intermediary net/minecraft/class_4008
official grn
  • Field Details

    • RESOURCE_ID

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

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

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

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

    • SplashTextResourceSupplier

      public SplashTextResourceSupplier(Session session)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/client/resource/SplashTextResourceSupplier;<init>(Lnet/minecraft/client/session/Session;)V
      intermediary <init> Lnet/minecraft/class_4008;<init>(Lnet/minecraft/class_320;)V
      official <init> Lgrn;<init>(Lfhb;)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
      named prepare Lnet/minecraft/client/resource/SplashTextResourceSupplier;prepare(Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)Ljava/util/List;
      intermediary method_18176 Lnet/minecraft/class_4008;method_18176(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Ljava/util/List;
      official a Lgrn;a(Laue;Lbnf;)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
      named apply Lnet/minecraft/client/resource/SplashTextResourceSupplier;apply(Ljava/util/List;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
      intermediary method_18175 Lnet/minecraft/class_4008;method_18175(Ljava/util/List;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)V
      official a Lgrn;a(Ljava/util/List;Laue;Lbnf;)V
    • get

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