0.19 ➝ 0.20
Minecraft version
Updated to 1.21.6
ItemBehavior
modifyClientSideStack
now receives the server-sideItemStack
instead ofdata: NamespacedCompound
. The data can still be accessed by using theItemStack.retrieveData
extension functions onserver: ItemStack
.
commons-provider
Updated to 2.0.0-alpha.4
, which contains the following breaking changes:
- Removed
MutableProvider.defaultsTo
, useorElse
instead. (For CBF compounds, entry providers can now have a default value) - Removed
MutableProvider.orElse(Provider)
with no replacement - Removed
MutableProvider.detached
with no replacement - Some extension functions, such as
map
andflatMap
, are now member functions onProvider
/MutableProvider
, which means that you may need to remove some invalid imports.
Check out the updated commons-provider KDocs.
CBF
Updated to 1.0.0-alpha.2
, which contains major changes to how custom serializers work.
Check out the updated CBF Docs and CBF KDocs.
InvUI
Updated to 2.0.0-alpha.14
, which contains one breaking change:
- Removed
Gui#remove(...)
in favor ofGui#setSlotElement(..., null)