Commit graph

107 commits

Author SHA1 Message Date
3c60e157e4
Add comment and Finish test of conflict for CAEnchant. 2024-06-20 13:54:13 +02:00
dafe595c5b
Renamed WrappedEnchantment to CAEnchantment (CustomAnvilEnchantment).
created an interface out of CAEnchantment and moved the implementation to CAEnchantmentBase.
2024-06-20 13:09:27 +02:00
fa4752ea67
Rework the conflict system to be mostly handled by the enchantment. 2024-06-20 03:00:09 +02:00
0ed0e01f3b
Fix material group not working when config fix is applied.
Also change Enchantment Squared warning message.
2024-06-18 18:15:07 +02:00
fd1fb97174
Automatic Enchantment Squared configuration. 2024-06-18 17:09:55 +02:00
6553122819
Add permission check for Enchantment² enchantments. 2024-06-18 03:13:40 +02:00
fc033460b4
Use correct default. Also disable Enchantment Squared anvil listener. 2024-06-16 20:58:50 +02:00
88c4f0509b
Optimised Enchant Squared get and clean. 2024-06-16 19:58:24 +02:00
aa1f3a446e
Add enchant squared wrapper.
Fix dependency not being load before enchantment registering.
2024-06-16 14:48:11 +02:00
aad9974baf
Rewriten how dependency is handled 2024-06-16 12:58:44 +02:00
27e8fb5719
Cleaning up and add name map. 2024-06-16 10:17:26 +02:00
c7fee98d44
Fixed strange issue related to item meta.
Added more verbose debug log.
2024-06-16 04:57:18 +02:00
1eac81aef6
Attempt to switch from Enchantment to WrapperEnchantment 2024-06-16 04:57:18 +02:00
9f74c2cfff
Implemented multiples methods for enchantment wrapper. 2024-06-16 03:46:30 +02:00
f261e3c795
Start the implementation of a custom wrapper for enchantment.
This will aim to allow to implement support for custom implementation of enchantment
2024-06-16 02:25:51 +02:00
b8bcf09df7
Fix enchant cost not updating for 1.16.5 2024-06-15 00:09:29 +02:00
97bf57b8aa
Remove custom metric 2024-06-14 19:18:50 +02:00
a9c65dfddc
Add support for 1.21 2024-06-14 19:14:46 +02:00
6d3cd32705
Fix issue with init of main config gui. 2024-06-14 15:38:34 +02:00
f576654685
Fix issue on anvilconfigreload before loading main config gui. 2024-06-07 14:45:24 +02:00
bd47f9d81b
Fix unit repair max price being off by 1 2024-06-05 13:36:01 +02:00
49d8ba304d
Fix unit repair not being capped.
Also fix wrong range in lore.
2024-05-28 23:10:37 +02:00
78e77df071
Small range adjusment:
- set min value of max anvil cost to 0
- set max value for most config by 1000
2024-05-28 22:31:57 +02:00
0906bac103
Fix some settings
- Fix some settings text
- Max level now work as max level outside the cap
- Remove cost limit now lock max cost and cap cost.
- Move order of some factory arguments
2024-05-23 17:31:57 +02:00
7db88b6b04
Add replace to expensive config can be changed with the gui. 2024-05-20 22:04:00 +02:00
f684e15c5b
Replace "to expensive" as config option.
- Added "replace_to_expensive" option and its usage.
- Changed "limit_repair_value" range
- Moved order of some field to make sens between code and config
2024-05-20 18:53:21 +02:00
de51617059
Add XP cost display above 40.
Need ProtocoLib installed.
2024-05-20 18:49:44 +02:00
3ff6505adf
Suppressed most fixable warning. 2024-04-28 19:59:37 +02:00
95c976bd56
Merge branch 'master' into configGui-part5 2024-04-28 18:01:39 +02:00
adaba63d5e
Fixed issue about level in fusing.
when fusing item with enchant above level limit there was some strange uncapped cases.
Also fix a typo.
2024-04-28 04:24:11 +02:00
32b535efda
Better system for handling 1.20.5 sweeping edge. 2024-04-28 04:02:03 +02:00
46ff34deea
Hacky fix for 1.20.5.
Also:
- version up
- metric fix (expected as config was changed)
- Prepared for long term update system
2024-04-28 03:21:34 +02:00
d622511e3c
Fix Custom recipe config GUI not being reloaded on reload config command. 2024-04-24 18:28:52 +02:00
2861238f58
Avoid overriding left item name on custom name. fix #8
Also version up for convenience.
2024-04-23 02:25:52 +02:00
8523044613
Progress on config GUI:
- Finished GroupConfigSubSettingGui.
- Progress on MaterialSelectSettingGui
2024-04-23 01:46:33 +02:00
d5b7e5dbfd
Finish global gui for group config. 2024-04-18 17:03:11 +02:00
2c6349735b
Start of the group config guis. 2024-04-18 02:20:46 +02:00
dee7862e82
Finished unit repair config gui. 2024-04-11 19:31:43 +02:00
9ea7624bff
Global unit repair config gui should be finished and work properly. 2024-04-10 19:56:31 +02:00
479bd03e83
Moved some class. Abstracted gui list elements. 2024-04-08 21:39:45 +02:00
57cd58657d
Fix anvil inventory sometimes not updating & version up 2024-04-08 17:47:44 +02:00
fe28e27285 Fix dupe on exact count custom recipe. 2024-04-07 04:29:40 +02:00
a646d5ab02 Fix multiple issue about custom recipes
- Gui item not using a clone of the result item.
- Every recipe item being removed even if there was leftover
2024-04-07 04:20:07 +02:00
c55c1c8c6a Update items and inventory names.
Fix some value not updating after config changed.
2024-04-06 16:49:46 +02:00
e440d05bb9 Create global and sub setting recipe config gui. 2024-04-06 15:21:40 +02:00
9f31d396ce Add logic for custom recipe. Add default for custom recipe. 2024-04-05 18:00:46 +02:00
39ae8845b5 Add custom recipe manager. 2024-04-05 17:00:04 +02:00
00fba2f4b0 alpha version up & cleanup code. 2024-03-31 01:02:30 +01:00
1b83c8db81 Finished custom item for the conflcit config gui.
Fixed multiple issue.
2024-03-31 00:51:58 +01:00
081266accf Add create conflict item. 2024-03-30 21:20:12 +01:00