-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
addon ability set world slots manually - RTPMenu
- Loading branch information
1 parent
7fd8b6d
commit c8d076c
Showing
6 changed files
with
58 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...ons/src/main/java/me/SuperRonanCraft/BetterRTPAddons/addons/rtpmenu/RTPMenu_Settings.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package me.SuperRonanCraft.BetterRTPAddons.addons.rtpmenu; | ||
|
||
import lombok.Getter; | ||
import me.SuperRonanCraft.BetterRTPAddons.util.Files; | ||
|
||
public class RTPMenu_Settings { | ||
@Getter private int refresh, lines; | ||
@Getter private String title; | ||
@Getter private Boolean autoCenter; | ||
|
||
void load(String prefix) { | ||
refresh = Files.FILETYPE.CONFIG.getInt(prefix + ".AutoRefresh"); | ||
lines = Files.FILETYPE.CONFIG.getInt(prefix + ".Lines"); | ||
title = Files.FILETYPE.CONFIG.getString(prefix + ".Title"); | ||
autoCenter = Files.FILETYPE.CONFIG.getBoolean(prefix + ".AutoCenter"); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters