Interface Backend

All Known Implementing Classes:
SimpleBackend

@BackendImplemented public interface Backend
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final IdRegistry<Backend>
     
  • Method Summary

    Modifier and Type
    Method
    Description
    createEngine(net.minecraft.world.level.LevelAccessor level)
    Create a new engine instance.
    boolean
    Check if this backend is supported.
    int
    The priority of this backend.
  • Field Details

  • Method Details

    • createEngine

      Engine createEngine(net.minecraft.world.level.LevelAccessor level)
      Create a new engine instance.
    • priority

      int priority()
      The priority of this backend.

      The backend with the highest priority upon first launch will be chosen as the default backend.

      If the selected backend becomes unavailable for whatever reason, the next supported backend with a LOWER priority than the selected one will be chosen.

      Returns:
      The priority of this backend.
    • isSupported

      boolean isSupported()
      Check if this backend is supported.