Interface IScriptLoadSourceRegistrationHandler


public interface IScriptLoadSourceRegistrationHandler
Manages the registration of IScriptLoadSources for CraftTweaker.

Refer to the documentation for load sources for more information related on what they represent and their usage.

Since:
9.1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    registerLoadSource(net.minecraft.resources.ResourceLocation id)
    Registers a load source with the given identifier.
  • Method Details

    • registerLoadSource

      void registerLoadSource(net.minecraft.resources.ResourceLocation id)
      Registers a load source with the given identifier.

      Each load source must be registered with a unique identifier.

      Parameters:
      id - The identifier of the load source.
      Since:
      9.1.0