Interface ResourcePackSource


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

    • PACK_SOURCE_NONE

      static final ResourcePackSource PACK_SOURCE_NONE
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a:Lacn;
      intermediary field_25347 Lnet/minecraft/class_5352;field_25347:Lnet/minecraft/class_5352;
      named PACK_SOURCE_NONE Lnet/minecraft/resource/ResourcePackSource;PACK_SOURCE_NONE:Lnet/minecraft/resource/ResourcePackSource;
    • PACK_SOURCE_BUILTIN

      static final ResourcePackSource PACK_SOURCE_BUILTIN
      Mappings:
      Namespace Name Mixin selector
      official b Lacn;b:Lacn;
      intermediary field_25348 Lnet/minecraft/class_5352;field_25348:Lnet/minecraft/class_5352;
      named PACK_SOURCE_BUILTIN Lnet/minecraft/resource/ResourcePackSource;PACK_SOURCE_BUILTIN:Lnet/minecraft/resource/ResourcePackSource;
    • PACK_SOURCE_WORLD

      static final ResourcePackSource PACK_SOURCE_WORLD
      Mappings:
      Namespace Name Mixin selector
      official c Lacn;c:Lacn;
      intermediary field_25349 Lnet/minecraft/class_5352;field_25349:Lnet/minecraft/class_5352;
      named PACK_SOURCE_WORLD Lnet/minecraft/resource/ResourcePackSource;PACK_SOURCE_WORLD:Lnet/minecraft/resource/ResourcePackSource;
    • PACK_SOURCE_SERVER

      static final ResourcePackSource PACK_SOURCE_SERVER
      Mappings:
      Namespace Name Mixin selector
      official d Lacn;d:Lacn;
      intermediary field_25350 Lnet/minecraft/class_5352;field_25350:Lnet/minecraft/class_5352;
      named PACK_SOURCE_SERVER Lnet/minecraft/resource/ResourcePackSource;PACK_SOURCE_SERVER:Lnet/minecraft/resource/ResourcePackSource;
  • Method Details

    • decorate

      Text decorate​(Text packName)
      Mappings:
      Namespace Name Mixin selector
      official decorate Lacn;decorate(Loi;)Loi;
      intermediary decorate Lnet/minecraft/class_5352;decorate(Lnet/minecraft/class_2561;)Lnet/minecraft/class_2561;
      named decorate Lnet/minecraft/resource/ResourcePackSource;decorate(Lnet/minecraft/text/Text;)Lnet/minecraft/text/Text;
    • onlyName

      static ResourcePackSource onlyName()
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a()Lacn;
      intermediary method_29485 Lnet/minecraft/class_5352;method_29485()Lnet/minecraft/class_5352;
      named onlyName Lnet/minecraft/resource/ResourcePackSource;onlyName()Lnet/minecraft/resource/ResourcePackSource;
    • nameAndSource

      static ResourcePackSource nameAndSource​(String source)
      Mappings:
      Namespace Name Mixin selector
      official a Lacn;a(Ljava/lang/String;)Lacn;
      intermediary method_29486 Lnet/minecraft/class_5352;method_29486(Ljava/lang/String;)Lnet/minecraft/class_5352;
      named nameAndSource Lnet/minecraft/resource/ResourcePackSource;nameAndSource(Ljava/lang/String;)Lnet/minecraft/resource/ResourcePackSource;