Skip to content

v26.51.0

Latest

Choose a tag to compare

@killcerr killcerr released this 22 Sep 07:51

Changed

  • Adapted LeviLamina 26.51.x and BDS 26.51.1
  • HumanoidArmorItem::use and Actor::swing gained a HandSlot parameter, so ICustomArmorItem::use and ICustomToolItem::executeEvent follow
  • Item::mAllowOffhand became the tri-state Item::OffhandAllowed. toOffhandAllowed / isOffhandAllowed keep the old boolean view, and item_properties.allow_off_hand still carries a boolean - the 26.51 reader treats the value as one (non-zero is Yes, a missing key is No), so emitting the raw enum would turn No back into Yes
  • Replaced Recipes::loadRecipe with Recipes::_loadRecipe, which takes the recipe id, a RecipeType and a scratch Recipes::Buffers separately instead of a pair<string, Json::Value>
  • Followed the ResourcePack::$ctor (extra I18n&) and ResourcePackRepository::$ctor (extra IMinecraftEventing) hook signature changes, and read ResourcePack::mPack through mImpl now that 26.51 moved it into ResourcePack::Impl
  • Every hook target was re-verified against the 26.51.1 bedrockdata symbol database; all 15 of them still resolve, so no hook had to be re-pointed

Fixed

  • Restored the local ItemInstance::ItemInstance definition. 26.51 declares it for the client only, so the prelink no longer resolves it out of the archives
  • CustomItemRegistry.h includes mc/common/WeakPtr.h directly, the 26.51 include chain no longer pulls it in
  • ICustomToolItem::executeEvent passes HandSlot::Mainhand to Actor::swing; Item::executeEvent and RenderParams still carry no hand slot

Full Changelog: v26.40.0...v26.51.0