Interface ResourcePackSource


public interface ResourcePackSource
Mappings:
Namespace Name
official ahh
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 Lahh;a:Lahh;
      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 Lahh;b:Lahh;
      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 Lahh;c:Lahh;
      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 Lahh;d:Lahh;
      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 Lahh;decorate(Lrm;)Lrm;
      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 Lahh;a()Lahh;
      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 Lahh;a(Ljava/lang/String;)Lahh;
      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;