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 fpk
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 Lfpk;a:Lacf;
      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 Lfpk;b:Laoh;
      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 Lfpk;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 Lfpk;d:Lejv;
      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> Lfpk;<init>(Lejv;)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 Lfpk;a(Lake;Lazc;)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 Lfpk;a(Ljava/util/List;Lake;Lazc;)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

      @Nullable public @Nullable String get()
      Mappings:
      Namespace Name Mixin selector
      official a Lfpk;a()Ljava/lang/String;
      intermediary method_18174 Lnet/minecraft/class_4008;method_18174()Ljava/lang/String;
      named get Lnet/minecraft/client/resource/SplashTextResourceSupplier;get()Ljava/lang/String;