diff options
Diffstat (limited to 'src/main/java/de/hype/bbsentials/constants/enviromentShared/ChChestItem.java')
-rw-r--r-- | src/main/java/de/hype/bbsentials/constants/enviromentShared/ChChestItem.java | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/src/main/java/de/hype/bbsentials/constants/enviromentShared/ChChestItem.java b/src/main/java/de/hype/bbsentials/constants/enviromentShared/ChChestItem.java deleted file mode 100644 index 3e6a346..0000000 --- a/src/main/java/de/hype/bbsentials/constants/enviromentShared/ChChestItem.java +++ /dev/null @@ -1,46 +0,0 @@ -package de.hype.bbsentials.constants.enviromentShared; - -public class ChChestItem { - private String displayName; - private boolean custom; - - public ChChestItem(String displayName) { - this.displayName = displayName; - this.custom = false; - } - - public ChChestItem(String displayName, boolean custom) { - this.displayName = displayName; - this.custom = custom; - } - - public String getDisplayName() { - return displayName; - } - - public ChChestItem setDisplayName(String displayName) { - this.displayName = displayName; - return this; - } - - public boolean isCustom() { - return custom; - } - - @Override - public String toString() { - return displayName; - } - - public boolean isGemstone() { - return displayName.startsWith("Flawless") && displayName.endsWith("Gemstone"); - } - - public boolean isRoboPart() { - String[] roboParts = {"Control Switch", "Electron Transmitter", "FTX 3070", "Robotron Reflector", "Superlite Motor", "Synthetic Heart"}; - for (String roboPart : roboParts) { - if (displayName.equals(roboPart)) return true; - } - return false; - } -}
\ No newline at end of file |