Interface ResourcePackSource


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