Class GateFormatHandler

java.lang.Object
org.sgrewritten.stargate.gate.GateFormatHandler

public class GateFormatHandler extends Object
A handler that keeps track of all known gate formats
  • Method Details

    • loadGateFormats

      @NotNull public static @NotNull List<GateFormat> loadGateFormats(File dir)
      Loads all gate formats from the gate folder
      Parameters:
      dir -

      The folder to load gates from

      Returns:

      A map between a control block material and the corresponding gate format