diff options
| author | NopoTheGamer <40329022+NopoTheGamer@users.noreply.github.com> | 2022-09-13 02:31:56 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-09-12 18:31:56 +0200 |
| commit | 94054563ff1d595253a4e50cf48b22fc77a05515 (patch) | |
| tree | 16d2466aa4e889b49cc68bdaf447dd8d9d39cf1b /src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java | |
| parent | d404b5c694e9873c1f2bcb48966785ad5c9640d0 (diff) | |
| download | notenoughupdates-94054563ff1d595253a4e50cf48b22fc77a05515.tar.gz notenoughupdates-94054563ff1d595253a4e50cf48b22fc77a05515.tar.bz2 notenoughupdates-94054563ff1d595253a4e50cf48b22fc77a05515.zip | |
Fix enchantment table overlay (#238)
Co-authored-by: nea <romangraef@gmail.com>
Diffstat (limited to 'src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java')
| -rw-r--r-- | src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java new file mode 100644 index 00000000..08e720a2 --- /dev/null +++ b/src/main/java/io/github/moulberry/notenoughupdates/miscgui/hex/EnchantState.java @@ -0,0 +1,37 @@ +/* + * Copyright (C) 2022 NotEnoughUpdates contributors + * + * This file is part of NotEnoughUpdates. + * + * NotEnoughUpdates is free software: you can redistribute it + * and/or modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation, either + * version 3 of the License, or (at your option) any later version. + * + * NotEnoughUpdates is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with NotEnoughUpdates. If not, see <https://www.gnu.org/licenses/>. + */ + +package io.github.moulberry.notenoughupdates.miscgui.hex; + +enum EnchantState { + NO_ITEM, + ADDING_ENCHANT, + SWITCHING_DONT_UPDATE, + INVALID_ITEM, + HAS_ITEM, + HAS_ITEM_IN_HEX, + HAS_ITEM_IN_BOOKS, + ADDING_BOOK, + NO_ITEM_IN_HEX, + INVALID_ITEM_HEX, + HAS_ITEM_IN_GEMSTONE, + ADDING_GEMSTONE, + APPLYING_GEMSTONE + +} |
