-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
26 changed files
with
214 additions
and
74 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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
Limit breaks enabled! | ||
|
||
**Changed**: | ||
- Bumped fabric-api `0.57.0+1.19` -> `0.58.0+1.19` | ||
- Bumped fabric-language-kotlin `1.8.1+kotlin.1.7.0` -> `1.8.2+kotlin.1.7.10` | ||
- Renamed increment/decrement identifiers to increment/decrement level | ||
- Expanded enchantment list entries to Triple to include compatibility | ||
- Reworked list texture for longer enchantment names | ||
|
||
**Added**: | ||
- Buttons and keybinds to toggle limit breaks | ||
- Networking and state for limit breaks | ||
- Incompatible, level, and treasure limit breaks | ||
- New disabled and empty enchantment row textures | ||
|
||
**Full Changelog**: https://github.com/eth0net/enchant-menu/commits/v1.1.0-alpha+fabric-1.19 |
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
6 changes: 3 additions & 3 deletions
6
.../client/keybinding/DecrementKeyBinding.kt → ...nt/keybinding/DecrementLevelKeyBinding.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,12 +1,12 @@ | ||
package com.github.eth0net.enchantmenu.client.keybinding | ||
|
||
import com.github.eth0net.enchantmenu.client.keybinding.key.DecrementKey | ||
import com.github.eth0net.enchantmenu.client.keybinding.key.DecrementLevelKey | ||
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper | ||
import net.minecraft.client.option.KeyBinding | ||
import net.minecraft.client.util.InputUtil | ||
|
||
internal val DecrementKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
internal val DecrementLevelKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
KeyBinding( | ||
"key.enchant-menu.decrement", InputUtil.Type.KEYSYM, DecrementKey, "category.enchant-menu.general" | ||
"key.enchant-menu.decrement_level", InputUtil.Type.KEYSYM, DecrementLevelKey, "category.enchant-menu.general" | ||
) | ||
) |
6 changes: 3 additions & 3 deletions
6
.../client/keybinding/IncrementKeyBinding.kt → ...nt/keybinding/IncrementLevelKeyBinding.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,12 +1,12 @@ | ||
package com.github.eth0net.enchantmenu.client.keybinding | ||
|
||
import com.github.eth0net.enchantmenu.client.keybinding.key.IncrementKey | ||
import com.github.eth0net.enchantmenu.client.keybinding.key.IncrementLevelKey | ||
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper | ||
import net.minecraft.client.option.KeyBinding | ||
import net.minecraft.client.util.InputUtil | ||
|
||
internal val IncrementKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
internal val IncrementLevelKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
KeyBinding( | ||
"key.enchant-menu.increment", InputUtil.Type.KEYSYM, IncrementKey, "category.enchant-menu.general" | ||
"key.enchant-menu.increment_level", InputUtil.Type.KEYSYM, IncrementLevelKey, "category.enchant-menu.general" | ||
) | ||
) |
15 changes: 15 additions & 0 deletions
15
...n/kotlin/com/github/eth0net/enchantmenu/client/keybinding/ToggleIncompatibleKeyBinding.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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
package com.github.eth0net.enchantmenu.client.keybinding | ||
|
||
import com.github.eth0net.enchantmenu.client.keybinding.key.ToggleIncompatibleKey | ||
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper | ||
import net.minecraft.client.option.KeyBinding | ||
import net.minecraft.client.util.InputUtil | ||
|
||
internal val ToggleIncompatibleKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
KeyBinding( | ||
"key.enchant-menu.toggle_incompatible", | ||
InputUtil.Type.KEYSYM, | ||
ToggleIncompatibleKey, | ||
"category.enchant-menu.general" | ||
) | ||
) |
12 changes: 12 additions & 0 deletions
12
src/main/kotlin/com/github/eth0net/enchantmenu/client/keybinding/ToggleLevelKeyBinding.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.eth0net.enchantmenu.client.keybinding | ||
|
||
import com.github.eth0net.enchantmenu.client.keybinding.key.ToggleLevelKey | ||
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper | ||
import net.minecraft.client.option.KeyBinding | ||
import net.minecraft.client.util.InputUtil | ||
|
||
internal val ToggleLevelKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
KeyBinding( | ||
"key.enchant-menu.toggle_level", InputUtil.Type.KEYSYM, ToggleLevelKey, "category.enchant-menu.general" | ||
) | ||
) |
12 changes: 12 additions & 0 deletions
12
src/main/kotlin/com/github/eth0net/enchantmenu/client/keybinding/ToggleTreasureKeyBinding.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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.github.eth0net.enchantmenu.client.keybinding | ||
|
||
import com.github.eth0net.enchantmenu.client.keybinding.key.ToggleTreasureKey | ||
import net.fabricmc.fabric.api.client.keybinding.v1.KeyBindingHelper | ||
import net.minecraft.client.option.KeyBinding | ||
import net.minecraft.client.util.InputUtil | ||
|
||
internal val ToggleTreasureKeyBinding = KeyBindingHelper.registerKeyBinding( | ||
KeyBinding( | ||
"key.enchant-menu.toggle_treasure", InputUtil.Type.KEYSYM, ToggleTreasureKey, "category.enchant-menu.general" | ||
) | ||
) |
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.