Interface ResourcePackSource


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