-
-
Notifications
You must be signed in to change notification settings - Fork 208
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backend: Remove asInternalName (#2893)
Co-authored-by: Cal <cwolfson58@gmail.com>
- Loading branch information
Showing
84 changed files
with
339 additions
and
344 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
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
44 changes: 22 additions & 22 deletions
44
src/main/java/at/hannibal2/skyhanni/features/combat/endernodetracker/EnderNode.kt
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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
package at.hannibal2.skyhanni.features.combat.endernodetracker | ||
|
||
import at.hannibal2.skyhanni.utils.NEUInternalName | ||
import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.asInternalName | ||
import at.hannibal2.skyhanni.utils.NEUInternalName.Companion.toInternalName | ||
|
||
enum class EnderNode( | ||
val internalName: NEUInternalName, | ||
val displayName: String, | ||
) { | ||
|
||
ENCHANTED_ENDSTONE("ENCHANTED_ENDSTONE".asInternalName(), "§aEnchanted End Stone"), | ||
ENCHANTED_OBSIDIAN("ENCHANTED_OBSIDIAN".asInternalName(), "§aEnchanted Obsidian"), | ||
ENCHANTED_ENDER_PEARL("ENCHANTED_ENDER_PEARL".asInternalName(), "§aEnchanted Ender Pearl"), | ||
GRAND_EXP_BOTTLE("GRAND_EXP_BOTTLE".asInternalName(), "§aGrand Experience Bottle"), | ||
TITANIC_EXP_BOTTLE("TITANIC_EXP_BOTTLE".asInternalName(), "§9Titanic Experience Bottle"), | ||
END_STONE_SHULKER("END_STONE_SHULKER".asInternalName(), "§9End Stone Shulker"), | ||
ENDSTONE_GEODE("ENDSTONE_GEODE".asInternalName(), "§9End Stone Geode"), | ||
MAGIC_RUNE("MAGIC_RUNE;1".asInternalName(), "§d◆ Magical Rune I"), | ||
ENDER_GAUNTLET("ENDER_GAUNTLET".asInternalName(), "§5Ender Gauntlet"), | ||
MITE_GEL("MITE_GEL".asInternalName(), "§5Mite Gel"), | ||
SHRIMP_THE_FISH("SHRIMP_THE_FISH".asInternalName(), "§cShrimp the Fish"), | ||
ENCHANTED_ENDSTONE("ENCHANTED_ENDSTONE".toInternalName(), "§aEnchanted End Stone"), | ||
ENCHANTED_OBSIDIAN("ENCHANTED_OBSIDIAN".toInternalName(), "§aEnchanted Obsidian"), | ||
ENCHANTED_ENDER_PEARL("ENCHANTED_ENDER_PEARL".toInternalName(), "§aEnchanted Ender Pearl"), | ||
GRAND_EXP_BOTTLE("GRAND_EXP_BOTTLE".toInternalName(), "§aGrand Experience Bottle"), | ||
TITANIC_EXP_BOTTLE("TITANIC_EXP_BOTTLE".toInternalName(), "§9Titanic Experience Bottle"), | ||
END_STONE_SHULKER("END_STONE_SHULKER".toInternalName(), "§9End Stone Shulker"), | ||
ENDSTONE_GEODE("ENDSTONE_GEODE".toInternalName(), "§9End Stone Geode"), | ||
MAGIC_RUNE("MAGIC_RUNE;1".toInternalName(), "§d◆ Magical Rune I"), | ||
ENDER_GAUNTLET("ENDER_GAUNTLET".toInternalName(), "§5Ender Gauntlet"), | ||
MITE_GEL("MITE_GEL".toInternalName(), "§5Mite Gel"), | ||
SHRIMP_THE_FISH("SHRIMP_THE_FISH".toInternalName(), "§cShrimp the Fish"), | ||
|
||
END_HELMET("END_HELMET".asInternalName(), "§5Ender Helmet"), | ||
END_CHESTPLATE("END_CHESTPLATE".asInternalName(), "§5Ender Chestplate"), | ||
END_LEGGINGS("END_LEGGINGS".asInternalName(), "§5Ender Leggings"), | ||
END_BOOTS("END_BOOTS".asInternalName(), "§5Ender Boots"), | ||
ENDER_NECKLACE("ENDER_NECKLACE".asInternalName(), "§5Ender Necklace"), | ||
COMMON_ENDERMAN_PET("ENDERMAN;0".asInternalName(), "§fEnderman"), | ||
UNCOMMON_ENDERMAN_PET("ENDERMAN;1".asInternalName(), "§aEnderman"), | ||
RARE_ENDERMAN_PET("ENDERMAN;2".asInternalName(), "§9Enderman"), | ||
EPIC_ENDERMAN_PET("ENDERMAN;3".asInternalName(), "§5Enderman"), | ||
LEGENDARY_ENDERMAN_PET("ENDERMAN;4".asInternalName(), "§6Enderman") | ||
END_HELMET("END_HELMET".toInternalName(), "§5Ender Helmet"), | ||
END_CHESTPLATE("END_CHESTPLATE".toInternalName(), "§5Ender Chestplate"), | ||
END_LEGGINGS("END_LEGGINGS".toInternalName(), "§5Ender Leggings"), | ||
END_BOOTS("END_BOOTS".toInternalName(), "§5Ender Boots"), | ||
ENDER_NECKLACE("ENDER_NECKLACE".toInternalName(), "§5Ender Necklace"), | ||
COMMON_ENDERMAN_PET("ENDERMAN;0".toInternalName(), "§fEnderman"), | ||
UNCOMMON_ENDERMAN_PET("ENDERMAN;1".toInternalName(), "§aEnderman"), | ||
RARE_ENDERMAN_PET("ENDERMAN;2".toInternalName(), "§9Enderman"), | ||
EPIC_ENDERMAN_PET("ENDERMAN;3".toInternalName(), "§5Enderman"), | ||
LEGENDARY_ENDERMAN_PET("ENDERMAN;4".toInternalName(), "§6Enderman") | ||
} |
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
Oops, something went wrong.