Commit graph

117 commits

Author SHA1 Message Date
091fb23aac
Add get every registered for Enchantment, Conflict and Material group.
Also updated some javadoc.
2024-07-08 17:06:39 +02:00
fca7bbb416
Added material group API.
Also edited some javadoc.
2024-07-08 15:36:19 +02:00
e1f6c3f5a8
Write conflict to file when write conflict is called.
Allow custom default rarity.
Update ConflictBuilder javadoc.
Allow null source for ConflictBuilder.
Log conflict origin on warning.
2024-07-08 01:01:53 +02:00
06b3dc89c2
Add api to add conflict. 2024-07-07 22:42:52 +02:00
962ce9cb48
Add enchantment register api. 2024-07-07 21:31:54 +02:00
a4dda06602
Add default for eco enchant enchantments. 2024-06-23 22:13:55 +02:00
5e42bf3a90
Fix enchantment being applied to the left item when trying to combine.
Fix conflict not being applied on some situation.
2024-06-22 14:59:56 +02:00
19806773a6
Partially implemented eco enchant compatibility. 2024-06-22 03:05:08 +02:00
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
7e45c48dec
Version up and update README.md 2024-06-18 21:16:25 +02:00
eef8ab9e09
Add "See only selected" for enchant select setting gui.
Please note that the unselected enchantment not being removed on see only selected mode is a feature as it allow to undo missclick.
2024-06-18 19:31:32 +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
b1ca8bd91c
Transform EnchantSelectSettingGui to be displayed as a list. 2024-06-17 23:57:42 +02:00
33fac3eed4
create interface SettingGui and used it insted of AstractSettingGui. 2024-06-17 20:49:44 +02:00
db1dfdf144
Enchant cost and Enchant limit config gui now are multi page list. 2024-06-17 19:57:10 +02:00
502aa64f50
Abstracted away ValueUpdatableGui. 2024-06-17 16:21:26 +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
db6cace261
Add optimisation for vanilla enchantment. 2024-06-16 10:45:25 +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
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
49d8ba304d
Fix unit repair not being capped.
Also fix wrong range in lore.
2024-05-28 23:10:37 +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
e6542ce85a
Version up and config gui finished. 2024-05-06 22:42:31 +02:00
af29fd666b
Add description text to some values. 2024-05-06 22:39:32 +02:00
24ebb19e11
Made Config gui prettier and with description lore. 2024-04-30 20:31:29 +02:00
4b50499442
Add config description lore for basic config gui. 2024-04-30 19:10:17 +02:00
3ff6505adf
Suppressed most fixable warning. 2024-04-28 19:59:37 +02:00
91994a6e78
Allow to append lore for setting gui's item. 2024-04-28 19:43:49 +02:00
95c976bd56
Merge branch 'master' into configGui-part5 2024-04-28 18:01:39 +02:00
32b535efda
Better system for handling 1.20.5 sweeping edge. 2024-04-28 04:02:03 +02:00
87a96cbbc2
Moved item creator to factory. 2024-04-26 16:37:51 +02:00
a4204263e9
Make GroupConfigSubSettingGui unusabled when asked. 2024-04-25 22:44:49 +02:00
ebe3708eca
Finished the MaterialSelectSettingGui. 2024-04-25 22:27:50 +02:00
8523044613
Progress on config GUI:
- Finished GroupConfigSubSettingGui.
- Progress on MaterialSelectSettingGui
2024-04-23 01:46:33 +02:00
257a3b4696
Add custom lore for item setting gui. 2024-04-23 00:02:44 +02:00
6feb3fbeeb
Progress on group subSetting gui:
- Delete group button & gui done.
- Select included group button & gui done
Some other minor fix.
2024-04-19 16:44:44 +02:00
d5b7e5dbfd
Finish global gui for group config. 2024-04-18 17:03:11 +02:00