
AbyssalLib
A plugin library for GUIs, Items, Blocks, Advancements and much more.
1.2K
1
New:
- Codec API now returns DataResult this allows propagative errors and partial success warnings accumulation)
Codec#encodeAsync/decodeAsync,Codec.dispatch,Codec.taggedUnion,Codec.tupleand much moreRecordCodecBuilder->RecordBuilder, it has also been rewrittenEncodeContext/DecodeContextto help clean up more complicated codecs.- Reflection API covers more missed features
Changes:
- Reflection API is now made safer
- UpdateChecker accepts a String vararg of ignored identifiers (e.g .alpha, .beta etc)
Fixes:
- ItemStack deserialization no longer adds custom_data to item if its not defined in the yml/json/etc.
Fix:
- UpdateChecker now works properly
Fix:
- YamlOps properly gets double and long values
Changes:
- Encoder and Decoder are no longer functional interfaces
Fixes:
- LootTable no longer cause a crash
- ItemMenu now works again
[EDIT: DO NOT USE CODEC.OF WITH LAMDA, IT DOESNT WORK] Changes:
- Encoder and Decoder are now FunctionalInterface(s) (Codec.of)
New:
- Codec.recursive
- Codec#flatXmap
- Codec.of overload with access to DynamicOps
Fixes:
- Codec#orElse no longer fails for null input
New:
- Simple Recipe API that allows automatically loading registered recipe types from JSON/YAML.
- Recipes can now be disabled by making a file in recipes folder with the following content:
id: "minecraft:diamond_sword" disabled: true- Recipes can now be replaced if they already exist using the optional
replace: <boolean>field
New:
- Tags loaded by TagLoader can now replace existing ones aslong as the ID is the same by setting
replace: true. - Loot tables now respect merge_strategy for existing custom loot tables of same id
- DeferredRegistry now supports adding modifiers which allow runing logic on elements during and after registration.
Fixes:
- ItemMenu now shows correct item count on plugins with no ItemCategory.
- ItemMenu now properly hides "hidden" items if no ItemCategory is present
- Tags loaded by TagLoader can now replace existing ones aslong as the ID is the same by setting
Fixes:
- OminousAmplifier component no longer causes ClassCastException.
- GUIs now tick on folia
This is the first build with folia compatibility, if you find any errors please report them on either github or discord
New:
- Folia is now supported.
- Minestom inspired Command API (old annotation registration still works).
Changes:
- Scheduler API is now ~4.8x faster.
- Structure Block placement speed is now configurable.
- onTick and onRandomTick have been moved to CustomBlock from BlockEntity.
Fixes:
- RemainderUse component has been fixed.
New:
- ResourcePackCompileEvent so plugins can hook into other plugins packs.
Changes:
- ItemPredicate partially matches minecraft:custom_data instead of a 1:1 comparison.
Changes:
- ItemAttributeModifers codec is now flipped to fix serialization.
New:
- Command to send toasts (
/abyssallib toast <players> <held|custom> <frame> <title> [subtitle] [item_stack]). - Command to serialize held item, looked at block or looked at entity.
- EnumArgument and NbtCompoundArgument for brigadier.
- Scheduler API (Realtime, Bukkit and Folia)
- Cooldown API.
Changes:
givecommand now takes player(s) as the first argument.permission guicommand can now take player as optional target.
- Command to send toasts (
New:
- ClientItemModifier for client-only item modifications, registered by ItemPacketModifier.registerModifier
- Client-only changes are now applied to cursor items too
Fix:
- Vanilla components are now serialized under minecraft namespace, old serialized items can be ported by replacing the namespace of component ids
Fix:
- ConsumeEffect codecs have been fixed (fixes serialization of Deathprotect and Consume components)
Fixes:
- DeathProtect and EnchantableComponent no longer cause error spam
- ComponentMap now loads vanilla components properly
Changes:
- Attribute API is now 1:1 with the minecraft Attribute system.
Changes:
- resourcepack host is now enabled by default
Fixes:
- No longer causes errors when using Codec.map or similar with Config API
1
Ссылки
Авторы
Сведения
Лицензия:
Опубликован:1 год назад
Обновлён:1 неделю назад
ID проекта:
