Commit graph

162 commits

Author SHA1 Message Date
ed58c9c107
Add some testing (#38) 2024-11-18 07:29:51 +01:00
50f8a37d8b
Fix default density item value being 1 instead of 2 2024-10-26 15:29:45 +02:00
e36f3a1694
Optimized list gui mapped to gui initialisation 2024-10-25 17:07:51 +02:00
1066508233
Hotfix: Fix custom enchantments max level from supported enchantments resetting every restart. 2024-10-16 22:57:27 +02:00
55d3ea8765
Fix custom enchantments max level from supported enchantments reseting every restart 2024-10-16 21:45:28 +02:00
13b7e73d8c
Excellent enchants compatibility (#34)
Add compatibility with
[ExcellentEnchants](https://www.spigotmc.org/resources/excellentenchants-%E2%AD%90-75-vanilla-like-enchantments.61693/)
2024-10-15 08:27:26 +02:00
7029254526
Improve registry and config (#33)
Use namespace instead of name to identify enchantments
2024-10-04 22:57:09 +02:00
a00bb919f4
Add merge level limit (#32)
Add merge level limit (aka "max before merge" or "disable merge over")
2024-10-04 16:55:55 +02:00
f4f467f6fe
Fix 1.21 config being wrong:
fix 1.21 config updater and automatically repair previously broken config version:
- Allow 1.21 enchantment in enchantment book
- Add unit repair of mace with breeze rod

Also version up
2024-09-18 12:46:11 +02:00
cfe0faf456
Automaticly add default value when value is absent 2024-09-13 14:31:59 +02:00
80aeb165cc
Add basic folia support 2024-09-13 12:53:27 +02:00
ce01702cea
Add work type option for config gui.
Removed some useless function for setting guis.
fix work penalty increase_only not working.
2024-09-01 16:47:40 +02:00
519ab1853c
Add work penalty type 2024-08-31 15:09:52 +02:00
98172a11c9
Did some gui design modification 2024-08-30 07:25:40 +02:00
c74ea42734
2 small fix.
Fix included enchantment of conflicts back button returning to main menu instead of the selected conflict.
Fix custom craft exact button count not setting the correct setting.
2024-08-30 07:25:39 +02:00
cf4cc740e8
Better way to find rarity on paper. 2024-08-30 07:25:34 +02:00
92dcfd87cf
Moved some other function to the new util. 2024-08-21 03:41:07 +02:00
0f2a295039
Created 1.18 R1 (plugin's native version) nms package.
Created 1.18 R1 handling of sending player abilities packet and tested on spigot.
Documented force_protocolib config.
2024-08-08 23:37:43 +02:00
3cc9c674f3
Force UTF-8 and replace § has hex value (\u00A7) to utf-8 § 2024-08-08 01:41:44 +02:00
7d20ea83c3
Create common nms module. 2024-08-07 23:20:04 +02:00
1cc3143a0e
Add item to disable configuration button that would change nothing. 2024-07-28 18:36:59 +02:00
3444c71763
Add color config to basic gui. 2024-07-28 18:21:13 +02:00
a6c2d5f148
Sort new enchantment in gui on add. 2024-07-24 19:13:23 +02:00
b70887c5ca
Enchantment are now sorted on select gui. 2024-07-24 16:57:22 +02:00
9b3402e45f
Fix sorted list depending on GuiSharedConstant initialisation 2024-07-24 16:49:07 +02:00
e89fff951e
Add unit repair api. 2024-07-24 14:16:39 +02:00
b53d347221
Forget to init custom recipe config gui. 2024-07-23 04:22:14 +02:00
03ae19e8a7
Fix reload command not executing the config event.
Also lazy loading of config guis.
2024-07-23 04:14:38 +02:00
e39bee5952
The API now test if the object were deleted before adding. 2024-07-23 03:22:31 +02:00
565bbb7e1c
Use the delete function where a delete inteded. 2024-07-23 03:09:34 +02:00
5ed365b14d
Add DeletableResource and made every non default config a DeletableResource. 2024-07-23 03:01:57 +02:00
7407cfd135
Renamed CAVanillaEnchantment to CABukkitEnchantment for clarity reason. 2024-07-12 01:06:32 +02:00
ff60e2bef7
Update enchantment squared. 2024-07-11 16:58:03 +02:00
b89a8951b7
Use Bulk operation object for bukkit and enchantment² enchants. 2024-07-11 16:23:53 +02:00
d3252eecbd
Add Bulk enchantment operation interface. 2024-07-11 16:23:53 +02:00
0fd12b4185
Splited optimised get and clean into 2 category.
Also changed getLevel(ItemStack) from CAEnchantmentBase to CAEnchantment
2024-07-11 12:42:33 +02:00
ac7f975b02
Fix value written as set in yml.
Fix material group not being added at to the registry.
Fix EnchantmentSquared restriction not having enchantment.
Added plugin's instance as conflict source.
2024-07-11 00:52:51 +02:00
fc7e85529c
Write default config on enchant registering.
Fix Enchantment Squared group not adding element.
2024-07-10 23:29:33 +02:00
a5c647776c
Add event for external enchantment and config registering.
Fix startup.
2024-07-10 14:26:55 +02:00
365d0ea847
Dependency enchantment registering now use the api. 2024-07-09 21:21:10 +02:00
6f1e53f68e
Fix Custom Recipe not being registered.
Fix conflict from api not working.
Add remove api for custom recipe, material group and conflict.
2024-07-09 20:22:59 +02:00
a40d2c6530
Added custom anvil recipe api & builder.
Fixed Conflict not being registered.
Build conflict on the builder instance instead of the ConflictAPI class.
2024-07-09 13:57:15 +02:00
bcd8b6ae6e
Make compatibility object with EcoEnchant and Enchant² use the api.
Abstract material group now have varargs "addAll" function.
2024-07-08 23:24:39 +02:00
1bd3328281
Update gui on enchantment registering. 2024-07-08 21:53:19 +02:00
0761c70286
Fix some api function not being static. 2024-07-08 17:15:39 +02:00
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