Interface DataResourceLoader

All Superinterfaces:
ResourceLoader

@NonExtendable public interface DataResourceLoader extends ResourceLoader
Provides various hooks into the server data resource loader.
  • Field Details

    • DATA_RESOURCE_STORE_KEY

      static final net.minecraft.server.packs.resources.PreparableReloadListener.StateKey<DataResourceStore.Mutable> DATA_RESOURCE_STORE_KEY
      The reload listener state key for the data resource store.
      API Note:
      The data resource store is only available in server data reload listeners.
      It should only be mutated in the application phase of the reload listeners.
  • Method Details