Package org.samo_lego.golfiv.storage
Class GolfConfig
java.lang.Object
org.samo_lego.golfiv.storage.GolfConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classCombat checks settings.static classstatic classChecks item picked that come in players inventory, whether they have disallowed enchantments.static classMain part of the config.static classMovement checks settings.static classOutgoing packet settings. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal Stringfinal GolfConfig.Combatfinal GolfConfig.Duplicationfinal GolfConfig.IllegalItemsfinal GolfConfig.Mainfinal GolfConfig.Movementfinal GolfConfig.Packet -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GolfConfigloadConfig(File configFile) Loads GolfIV config from file.voidsaveConfig(File configFile) Saves GolfIV config to the file.
-
Field Details
-
_comment_packet
- See Also:
-
main
-
items
-
combat
-
packet
-
movement
-
duplication
-
-
Constructor Details
-
GolfConfig
public GolfConfig()
-
-
Method Details
-
loadConfig
Loads GolfIV config from file.- Parameters:
configFile- file to read GolfIV config from.- Returns:
- GolfConfig object
-
saveConfig
Saves GolfIV config to the file.- Parameters:
configFile- file where to save config to.
-