Interface ResourcePackSource


public interface ResourcePackSource
Mappings:
Namespace Name
named net/minecraft/resource/ResourcePackSource
intermediary net/minecraft/class_5352
official avh
  • 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 Lavh;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 Lavh;b:Lavh;
    • 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 Lavh;c:Lavh;
    • 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 Lavh;d:Lavh;
    • 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 Lavh;e:Lavh;
    • 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 Lavh;f:Lavh;
  • 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 Lavh;a(Lxv;)Lxv;
    • 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 Lavh;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 Lavh;a(Ljava/util/function/UnaryOperator;Z)Lavh;
    • 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 Lavh;a(Ljava/lang/String;)Ljava/util/function/UnaryOperator;