类 SplashTextResourceSupplier
- java.lang.Object
-
- net.minecraft.resource.SinglePreparationResourceReloader<List<String>>
-
- net.minecraft.client.resource.SplashTextResourceSupplier
-
- 所有已实现的接口:
ResourceReloader
@Environment(CLIENT) public class SplashTextResourceSupplier extends SinglePreparationResourceReloader<List<String>>
- Mappings:
Namespace Name official ewuintermediary net/minecraft/class_4008named net/minecraft/client/resource/SplashTextResourceSupplier
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 net.minecraft.resource.ResourceReloader
ResourceReloader.Synchronizer
-
-
字段概要
字段 修饰符和类型 字段 说明 private static RandomRANDOMprivate static IdentifierRESOURCE_IDprivate Sessionsessionprivate List<String>splashTexts
-
构造器概要
构造器 构造器 说明 SplashTextResourceSupplier(Session session)
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 protected voidapply(List<String> list, ResourceManager resourceManager, Profiler profiler)Handles the prepared intermediate object.@Nullable Stringget()protected List<String>prepare(ResourceManager resourceManager, Profiler profiler)Prepares the intermediate object.-
从类继承的方法 net.minecraft.resource.SinglePreparationResourceReloader
reload
-
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
从接口继承的方法 net.minecraft.resource.ResourceReloader
getName
-
-
-
-
字段详细资料
-
RESOURCE_ID
private static final Identifier RESOURCE_ID
- Mappings:
Namespace Name Mixin selector official aLewu;a:Lwp;intermediary field_17904Lnet/minecraft/class_4008;field_17904:Lnet/minecraft/class_2960;named RESOURCE_IDLnet/minecraft/client/resource/SplashTextResourceSupplier;RESOURCE_ID:Lnet/minecraft/util/Identifier;
-
RANDOM
private static final Random RANDOM
- Mappings:
Namespace Name Mixin selector official bLewu;b:Ljava/util/Random;intermediary field_17905Lnet/minecraft/class_4008;field_17905:Ljava/util/Random;named RANDOMLnet/minecraft/client/resource/SplashTextResourceSupplier;RANDOM:Ljava/util/Random;
-
splashTexts
private final List<String> splashTexts
- Mappings:
Namespace Name Mixin selector official cLewu;c:Ljava/util/List;intermediary field_17906Lnet/minecraft/class_4008;field_17906:Ljava/util/List;named splashTextsLnet/minecraft/client/resource/SplashTextResourceSupplier;splashTexts:Ljava/util/List;
-
session
private final Session session
- Mappings:
Namespace Name Mixin selector official dLewu;d:Lduz;intermediary field_18934Lnet/minecraft/class_4008;field_18934:Lnet/minecraft/class_320;named sessionLnet/minecraft/client/resource/SplashTextResourceSupplier;session:Lnet/minecraft/client/util/Session;
-
-
构造器详细资料
-
SplashTextResourceSupplier
public SplashTextResourceSupplier(Session session)
- Mappings:
Namespace Name Mixin selector official <init>Lewu;<init>(Lduz;)Vintermediary <init>Lnet/minecraft/class_4008;<init>(Lnet/minecraft/class_320;)Vnamed <init>Lnet/minecraft/client/resource/SplashTextResourceSupplier;<init>(Lnet/minecraft/client/util/Session;)V
-
-
方法详细资料
-
prepare
protected List<String> prepare(ResourceManager resourceManager, Profiler profiler)
从类复制的说明:SinglePreparationResourceReloaderPrepares the intermediate object.This method is called in the prepare executor in a reload.
- 指定者:
prepare在类中SinglePreparationResourceReloader<List<String>>- 参数:
resourceManager- the resource managerprofiler- the prepare profiler- 返回:
- the prepared object
- Mappings:
Namespace Name Mixin selector official aLewu;a(Ladl;Lapl;)Ljava/util/List;intermediary method_18176Lnet/minecraft/class_4008;method_18176(Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Ljava/util/List;named prepareLnet/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)
从类复制的说明:SinglePreparationResourceReloaderHandles the prepared intermediate object.This method is called in the apply executor, or the game engine, in a reload.
- 指定者:
apply在类中SinglePreparationResourceReloader<List<String>>- 参数:
list- the prepared objectresourceManager- the resource managerprofiler- the apply profiler- Mappings:
Namespace Name Mixin selector official aLewu;a(Ljava/util/List;Ladl;Lapl;)Vintermediary method_18175Lnet/minecraft/class_4008;method_18175(Ljava/util/List;Lnet/minecraft/class_3300;Lnet/minecraft/class_3695;)Vnamed applyLnet/minecraft/client/resource/SplashTextResourceSupplier;apply(Ljava/util/List;Lnet/minecraft/resource/ResourceManager;Lnet/minecraft/util/profiler/Profiler;)V
-
-