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 fvk
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 Lfvk;a:Lacq;
      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 Lfvk;b:Lapf;
      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 Lfvk;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 Lfvk;d:Lenu;
      intermediary field_18934 Lnet/minecraft/class_4008;field_18934:Lnet/minecraft/class_320;
      named session Lnet/minecraft/client/resource/SplashTextResourceSupplier;session:Lnet/minecraft/client/util/Session;
  • Constructor Details

    • SplashTextResourceSupplier

      public SplashTextResourceSupplier(Session session)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lfvk;<init>(Lenu;)V
      intermediary <init> Lnet/minecraft/class_4008;<init>(Lnet/minecraft/class_320;)V
      named <init> Lnet/minecraft/client/resource/SplashTextResourceSupplier;<init>(Lnet/minecraft/client/util/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 Lfvk;a(Lakx;Lbam;)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 Lfvk;a(Ljava/util/List;Lakx;Lbam;)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 Lfvk;a()Lepz;
      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;