Interface ResourcePackSource


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

    • NONE_SOURCE_TEXT_SUPPLIER

      static final UnaryOperator<Text> NONE_SOURCE_TEXT_SUPPLIER
      Mappings:
      Namespace Name Mixin selector
      official a Lanf;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

      static final ResourcePackSource NONE
      Mappings:
      Namespace Name Mixin selector
      official b Lanf;b:Lanf;
      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

      static final ResourcePackSource BUILTIN
      Mappings:
      Namespace Name Mixin selector
      official c Lanf;c:Lanf;
      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

      static final ResourcePackSource FEATURE
      Mappings:
      Namespace Name Mixin selector
      official d Lanf;d:Lanf;
      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

      static final ResourcePackSource WORLD
      Mappings:
      Namespace Name Mixin selector
      official e Lanf;e:Lanf;
      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

      static final ResourcePackSource SERVER
      Mappings:
      Namespace Name Mixin selector
      official f Lanf;f:Lanf;
      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

      Text decorate(Text packName)
      Mappings:
      Namespace Name Mixin selector
      official a Lanf;a(Ltl;)Ltl;
      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 Lanf;a()Z
      intermediary method_45279 Lnet/minecraft/class_5352;method_45279()Z
      named canBeEnabledLater Lnet/minecraft/resource/ResourcePackSource;canBeEnabledLater()Z
    • create

      static ResourcePackSource create(UnaryOperator<Text> sourceTextSupplier, boolean canBeEnabledLater)
      Mappings:
      Namespace Name Mixin selector
      official a Lanf;a(Ljava/util/function/UnaryOperator;Z)Lanf;
      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

      private static UnaryOperator<Text> getSourceTextSupplier(String translationKey)
      Mappings:
      Namespace Name Mixin selector
      official a Lanf;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;