Class VanillaDataPackProvider

java.lang.Object
net.minecraft.resource.VanillaResourcePackProvider
net.minecraft.resource.VanillaDataPackProvider
All Implemented Interfaces:
ResourcePackProvider

public class VanillaDataPackProvider extends VanillaResourcePackProvider
Mappings:
Namespace Name
official akj
intermediary net/minecraft/class_3286
named net/minecraft/resource/VanillaDataPackProvider
  • Field Details

    • METADATA

      private static final PackResourceMetadata METADATA
      Mappings:
      Namespace Name Mixin selector
      official b Lakj;b:Lajx;
      intermediary field_40051 Lnet/minecraft/class_3286;field_40051:Lnet/minecraft/class_3272;
      named METADATA Lnet/minecraft/resource/VanillaDataPackProvider;METADATA:Lnet/minecraft/resource/metadata/PackResourceMetadata;
    • FEATURE_FLAGS

      private static final PackFeatureSetMetadata FEATURE_FLAGS
      Mappings:
      Namespace Name Mixin selector
      official c Lakj;c:Lajh;
      intermediary field_40052 Lnet/minecraft/class_3286;field_40052:Lnet/minecraft/class_7663;
      named FEATURE_FLAGS Lnet/minecraft/resource/VanillaDataPackProvider;FEATURE_FLAGS:Lnet/minecraft/resource/metadata/PackFeatureSetMetadata;
    • METADATA_MAP

      private static final ResourceMetadataMap METADATA_MAP
      Mappings:
      Namespace Name Mixin selector
      official d Lakj;d:Lajg;
      intermediary field_26939 Lnet/minecraft/class_3286;field_26939:Lnet/minecraft/class_7662;
      named METADATA_MAP Lnet/minecraft/resource/VanillaDataPackProvider;METADATA_MAP:Lnet/minecraft/resource/metadata/ResourceMetadataMap;
    • NAME

      private static final Text NAME
      Mappings:
      Namespace Name Mixin selector
      official e Lakj;e:Lsw;
      intermediary field_29782 Lnet/minecraft/class_3286;field_29782:Lnet/minecraft/class_2561;
      named NAME Lnet/minecraft/resource/VanillaDataPackProvider;NAME:Lnet/minecraft/text/Text;
    • ID

      private static final Identifier ID
      Mappings:
      Namespace Name Mixin selector
      official f Lakj;f:Lacq;
      intermediary field_40053 Lnet/minecraft/class_3286;field_40053:Lnet/minecraft/class_2960;
      named ID Lnet/minecraft/resource/VanillaDataPackProvider;ID:Lnet/minecraft/util/Identifier;
  • Constructor Details

    • VanillaDataPackProvider

      public VanillaDataPackProvider()
  • Method Details

    • createDefaultPack

      private static DefaultResourcePack createDefaultPack()
      Mappings:
      Namespace Name Mixin selector
      official b Lakj;b()Lajm;
      intermediary method_45287 Lnet/minecraft/class_3286;method_45287()Lnet/minecraft/class_3268;
      named createDefaultPack Lnet/minecraft/resource/VanillaDataPackProvider;createDefaultPack()Lnet/minecraft/resource/DefaultResourcePack;
    • getProfileName

      protected Text getProfileName(String id)
      Specified by:
      getProfileName in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lakc;a(Ljava/lang/String;)Lsw;
      intermediary method_45259 Lnet/minecraft/class_7678;method_45259(Ljava/lang/String;)Lnet/minecraft/class_2561;
      named getProfileName Lnet/minecraft/resource/VanillaResourcePackProvider;getProfileName(Ljava/lang/String;)Lnet/minecraft/text/Text;
    • createDefault

      @Nullable protected @Nullable ResourcePackProfile createDefault(ResourcePack pack)
      Specified by:
      createDefault in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lakc;a(Lajj;)Lake;
      intermediary method_45257 Lnet/minecraft/class_7678;method_45257(Lnet/minecraft/class_3262;)Lnet/minecraft/class_3288;
      named createDefault Lnet/minecraft/resource/VanillaResourcePackProvider;createDefault(Lnet/minecraft/resource/ResourcePack;)Lnet/minecraft/resource/ResourcePackProfile;
    • create

      @Nullable protected @Nullable ResourcePackProfile create(String name, ResourcePackProfile.PackFactory packFactory, Text displayName)
      Specified by:
      create in class VanillaResourcePackProvider
      Mappings:
      Namespace Name Mixin selector
      official a Lakc;a(Ljava/lang/String;Lake$c;Lsw;)Lake;
      intermediary method_45260 Lnet/minecraft/class_7678;method_45260(Ljava/lang/String;Lnet/minecraft/class_3288$class_7680;Lnet/minecraft/class_2561;)Lnet/minecraft/class_3288;
      named create Lnet/minecraft/resource/VanillaResourcePackProvider;create(Ljava/lang/String;Lnet/minecraft/resource/ResourcePackProfile$PackFactory;Lnet/minecraft/text/Text;)Lnet/minecraft/resource/ResourcePackProfile;
    • createManager

      public static ResourcePackManager createManager(Path dataPacksPath)
      Mappings:
      Namespace Name Mixin selector
      official a Lakj;a(Ljava/nio/file/Path;)Lakg;
      intermediary method_45286 Lnet/minecraft/class_3286;method_45286(Ljava/nio/file/Path;)Lnet/minecraft/class_3283;
      named createManager Lnet/minecraft/resource/VanillaDataPackProvider;createManager(Ljava/nio/file/Path;)Lnet/minecraft/resource/ResourcePackManager;
    • createManager

      public static ResourcePackManager createManager(LevelStorage.Session session)
      Mappings:
      Namespace Name Mixin selector
      official a Lakj;a(Ldyq$c;)Lakg;
      intermediary method_45285 Lnet/minecraft/class_3286;method_45285(Lnet/minecraft/class_32$class_5143;)Lnet/minecraft/class_3283;
      named createManager Lnet/minecraft/resource/VanillaDataPackProvider;createManager(Lnet/minecraft/world/level/storage/LevelStorage$Session;)Lnet/minecraft/resource/ResourcePackManager;