Changelog
- Updated to 26.1
Information For Developers
Deprecations
The following methods and classes have now been removed:
OutsideWorldRenderer#configure(World)utility. Use the no-arg version instead.Scrollbar(IScrollView)constructorScrollbar#getVerticalScrollAmount()andScrollbar#getHorizontalScrollAmount(). Instead usescrollbar.getScrubber().getPosition()for the relevant horizontal and vertical scrollbar.Config#FLATTENED_JSON_ADAPTERConfig#getByCategory(categoryName),Config#get(key),Config#containsKey(key). Instead usegetCategory(categoryName).get(key)JsonConfig, andLegacyJsonConfigAdapter
Api Changes
- ItemStackSprite and setIcon methods that used to take an ItemStack now require a ItemStackTemplate.
New APIs
- Added
Untyped#cast - Added
ComponentUtilsfor working withDataComponentPatchobjects - Added
ForwardingHolderandForwardingHolder#withComponentsfor easily creating a version of a holder with pre-defined components. This is what allows for rendering ItemStacks without loading a world.