Interface ResourcePackSource


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