Package org.sgrewritten.stargate.gate
Class GateFormatHandler
java.lang.Object
org.sgrewritten.stargate.gate.GateFormatHandler
A handler that keeps track of all known gate formats
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull List
<GateFormat> loadGateFormats
(File dir) Loads all gate formats from the gate folder
-
Method Details
-
loadGateFormats
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
-