Package net.minecraft.resource
Interface ResourcePackSource
public interface ResourcePackSource
- Mappings:
Namespace Name named net/minecraft/resource/ResourcePackSource
intermediary net/minecraft/class_5352
official atp
-
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 named NONE_SOURCE_TEXT_SUPPLIER
Lnet/minecraft/resource/ResourcePackSource;NONE_SOURCE_TEXT_SUPPLIER:Ljava/util/function/UnaryOperator;
intermediary field_40047
Lnet/minecraft/class_5352;field_40047:Ljava/util/function/UnaryOperator;
official a
Latp;a:Ljava/util/function/UnaryOperator;
-
NONE
- Mappings:
Namespace Name Mixin selector named NONE
Lnet/minecraft/resource/ResourcePackSource;NONE:Lnet/minecraft/resource/ResourcePackSource;
intermediary field_25347
Lnet/minecraft/class_5352;field_25347:Lnet/minecraft/class_5352;
official b
Latp;b:Latp;
-
BUILTIN
- Mappings:
Namespace Name Mixin selector named BUILTIN
Lnet/minecraft/resource/ResourcePackSource;BUILTIN:Lnet/minecraft/resource/ResourcePackSource;
intermediary field_25348
Lnet/minecraft/class_5352;field_25348:Lnet/minecraft/class_5352;
official c
Latp;c:Latp;
-
FEATURE
- Mappings:
Namespace Name Mixin selector named FEATURE
Lnet/minecraft/resource/ResourcePackSource;FEATURE:Lnet/minecraft/resource/ResourcePackSource;
intermediary field_40048
Lnet/minecraft/class_5352;field_40048:Lnet/minecraft/class_5352;
official d
Latp;d:Latp;
-
WORLD
- Mappings:
Namespace Name Mixin selector named WORLD
Lnet/minecraft/resource/ResourcePackSource;WORLD:Lnet/minecraft/resource/ResourcePackSource;
intermediary field_25349
Lnet/minecraft/class_5352;field_25349:Lnet/minecraft/class_5352;
official e
Latp;e:Latp;
-
SERVER
- Mappings:
Namespace Name Mixin selector named SERVER
Lnet/minecraft/resource/ResourcePackSource;SERVER:Lnet/minecraft/resource/ResourcePackSource;
intermediary field_25350
Lnet/minecraft/class_5352;field_25350:Lnet/minecraft/class_5352;
official f
Latp;f:Latp;
-
-
Method Details
-
decorate
- Mappings:
Namespace Name Mixin selector named decorate
Lnet/minecraft/resource/ResourcePackSource;decorate(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
intermediary method_45282
Lnet/minecraft/class_5352;method_45282(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
official a
Latp;a(Lwy;)Lwy;
-
canBeEnabledLater
boolean canBeEnabledLater()- Mappings:
Namespace Name Mixin selector named canBeEnabledLater
Lnet/minecraft/resource/ResourcePackSource;canBeEnabledLater()Z
intermediary method_45279
Lnet/minecraft/class_5352;method_45279()Z
official a
Latp;a()Z
-
create
- Mappings:
Namespace Name Mixin selector named create
Lnet/minecraft/resource/ResourcePackSource;create(Ljava/util/function/UnaryOperator;Z)Lnet/minecraft/resource/ResourcePackSource;
intermediary method_45281
Lnet/minecraft/class_5352;method_45281(Ljava/util/function/UnaryOperator;Z)Lnet/minecraft/class_5352;
official a
Latp;a(Ljava/util/function/UnaryOperator;Z)Latp;
-
getSourceTextSupplier
- Mappings:
Namespace Name Mixin selector named getSourceTextSupplier
Lnet/minecraft/resource/ResourcePackSource;getSourceTextSupplier(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
intermediary method_45280
Lnet/minecraft/class_5352;method_45280(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
official a
Latp;a(Ljava/lang/String;)Ljava/util/function/UnaryOperator;
-