Package net.minecraft.resource
Interface ResourcePackSource
public interface ResourcePackSource
- Mappings:
Namespace Name official akj
intermediary net/minecraft/class_5352
named net/minecraft/resource/ResourcePackSource
-
Field Summary
Modifier and TypeFieldDescriptionstatic final ResourcePackSource
static final ResourcePackSource
static final ResourcePackSource
static final UnaryOperator<Text>
static final ResourcePackSource
static final ResourcePackSource
-
Method Summary
Modifier and TypeMethodDescriptionboolean
static ResourcePackSource
create
(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater) private static UnaryOperator<Text>
getSourceTextSupplier
(String translationKey)
-
Field Details
-
NONE_SOURCE_TEXT_SUPPLIER
- Mappings:
Namespace Name Mixin selector official a
Lakj;a:Ljava/util/function/UnaryOperator;
intermediary field_40047
Lnet/minecraft/class_5352;field_40047:Ljava/util/function/UnaryOperator;
named NONE_SOURCE_TEXT_SUPPLIER
Lnet/minecraft/resource/ResourcePackSource;NONE_SOURCE_TEXT_SUPPLIER:Ljava/util/function/UnaryOperator;
-
NONE
- Mappings:
Namespace Name Mixin selector official b
Lakj;b:Lakj;
intermediary field_25347
Lnet/minecraft/class_5352;field_25347:Lnet/minecraft/class_5352;
named NONE
Lnet/minecraft/resource/ResourcePackSource;NONE:Lnet/minecraft/resource/ResourcePackSource;
-
BUILTIN
- Mappings:
Namespace Name Mixin selector official c
Lakj;c:Lakj;
intermediary field_25348
Lnet/minecraft/class_5352;field_25348:Lnet/minecraft/class_5352;
named BUILTIN
Lnet/minecraft/resource/ResourcePackSource;BUILTIN:Lnet/minecraft/resource/ResourcePackSource;
-
FEATURE
- Mappings:
Namespace Name Mixin selector official d
Lakj;d:Lakj;
intermediary field_40048
Lnet/minecraft/class_5352;field_40048:Lnet/minecraft/class_5352;
named FEATURE
Lnet/minecraft/resource/ResourcePackSource;FEATURE:Lnet/minecraft/resource/ResourcePackSource;
-
WORLD
- Mappings:
Namespace Name Mixin selector official e
Lakj;e:Lakj;
intermediary field_25349
Lnet/minecraft/class_5352;field_25349:Lnet/minecraft/class_5352;
named WORLD
Lnet/minecraft/resource/ResourcePackSource;WORLD:Lnet/minecraft/resource/ResourcePackSource;
-
SERVER
- Mappings:
Namespace Name Mixin selector official f
Lakj;f:Lakj;
intermediary field_25350
Lnet/minecraft/class_5352;field_25350:Lnet/minecraft/class_5352;
named SERVER
Lnet/minecraft/resource/ResourcePackSource;SERVER:Lnet/minecraft/resource/ResourcePackSource;
-
-
Method Details
-
decorate
- Mappings:
Namespace Name Mixin selector official a
Lakj;a(Lsw;)Lsw;
intermediary method_45282
Lnet/minecraft/class_5352;method_45282(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
named decorate
Lnet/minecraft/resource/ResourcePackSource;decorate(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
-
canBeEnabledLater
boolean canBeEnabledLater()- Mappings:
Namespace Name Mixin selector official a
Lakj;a()Z
intermediary method_45279
Lnet/minecraft/class_5352;method_45279()Z
named canBeEnabledLater
Lnet/minecraft/resource/ResourcePackSource;canBeEnabledLater()Z
-
create
- Mappings:
Namespace Name Mixin selector official a
Lakj;a(Ljava/util/function/UnaryOperator;Z)Lakj;
intermediary method_45281
Lnet/minecraft/class_5352;method_45281(Ljava/util/function/UnaryOperator;Z)Lnet/minecraft/class_5352;
named create
Lnet/minecraft/resource/ResourcePackSource;create(Ljava/util/function/UnaryOperator;Z)Lnet/minecraft/resource/ResourcePackSource;
-
getSourceTextSupplier
- Mappings:
Namespace Name Mixin selector official a
Lakj;a(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
intermediary method_45280
Lnet/minecraft/class_5352;method_45280(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
named getSourceTextSupplier
Lnet/minecraft/resource/ResourcePackSource;getSourceTextSupplier(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
-