Interface ResourcePackSource


public interface ResourcePackSource
Mappings:
Namespace Name
named net/minecraft/resource/ResourcePackSource
intermediary net/minecraft/class_5352
official aub
  • Field Details

    • NONE_SOURCE_TEXT_SUPPLIER

      static final UnaryOperator<Text> 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 Laub;a:Ljava/util/function/UnaryOperator;
    • NONE

      static final ResourcePackSource 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 Laub;b:Laub;
    • BUILTIN

      static final ResourcePackSource 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 Laub;c:Laub;
    • FEATURE

      static final ResourcePackSource 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 Laub;d:Laub;
    • WORLD

      static final ResourcePackSource 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 Laub;e:Laub;
    • SERVER

      static final ResourcePackSource 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 Laub;f:Laub;
  • Method Details

    • decorate

      Text decorate(Text packDisplayName)
      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 Laub;a(Lxp;)Lxp;
    • 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 Laub;a()Z
    • create

      static ResourcePackSource create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater)
      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 Laub;a(Ljava/util/function/UnaryOperator;Z)Laub;
    • getSourceTextSupplier

      private static UnaryOperator<Text> getSourceTextSupplier(String translationKey)
      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 Laub;a(Ljava/lang/String;)Ljava/util/function/UnaryOperator;