bundleupgrade-fabric-26.1-1.0.0.jar
Curse Maven Snippet
What's new
Changelog
[1.0.0] (Minecraft 26.1 - Fabric)
Changed
- Upgraded Bundle Upgrade to Minecraft
26.1(fabric-api=0.145.1+26.1,fabric-loader=0.20.1,loom_version=1.19.4, Gradle9.9.2) on Java 25. - Migrated the build toolchain to unobfuscated Minecraft
26.1:- Switched the Loom plugin from
net.fabricmc.fabric-loom-remaptonet.fabricmc.fabric-loom(1.19.4), removedyarn_mappings, replacedmodImplementationwithimplementation, and updated the Java target and MixincompatibilityLevelto Java25(JAVA_25). - Updated the Gradle Wrapper to
9.9.2, workspace IDE settings (.vscode/settings.json) toJavaSE-25, and GitHub Actions workflows (.github/workflows/build.yml,.github/workflows/release.yml) to Java25.
- Switched the Loom plugin from
- Migrated all common and client source files and Mixins from Yarn mappings to Minecraft
26.1official Mojang names and APIs:- Updated
ModItemsto register items withBuiltInRegistries.ITEM,Registries.ITEM,Identifier.fromNamespaceAndPath,Item.Properties#setId,Item.Properties#stacksTo,DataComponents.BUNDLE_CONTENTS, andBundleContents.EMPTY, and migrated creative tab registration fromItemGroupEventstoCreativeModeTabEvents.modifyOutputEvent(CreativeModeTabs.TOOLS_AND_UTILITIES)usingoutput.insertAfter(...). - Updated
UpgradedBundleItemandBundleItemMixinto targetoverrideStackedOnOther,overrideOtherStackedOnMe,getUseDuration,isBarVisible,getBarWidth,getBarColor,getTooltipImage, andgetFullnessDisplay, usingARGB.colorFromFloat,Mth.mulAndTruncate, and safeDataResult<Fraction>weight extraction fromBundleContents#weight(). - Updated
BundleContentsBuilderMixin,BundleContentsComponentAccessor,BundleContentsComponentMixin, andBundleStackHelperforBundleContents,BundleContents.Mutable,ItemInstance, andItemStackTemplate. - Updated
ShapedRecipeMixinfor the Minecraft26.1ShapedRecipe#assemble(CraftingInput)signature andCraftingInput#items(). - Updated
BundleTooltipDataMixin,TooltipComponentMixin, andBundleTooltipComponentMixinforBundleTooltip,ClientTooltipComponent#create(TooltipComponent), andClientBundleTooltip's staticgetProgressBarFill(Fraction),getProgressBarTexture(Fraction), andgetProgressBarFillText(Fraction)methods withextractImagecapacity context tracking. - Updated
HandledScreenMixinforAbstractContainerScreen,MouseButtonEvent,InputConstants.MOUSE_BUTTON_RIGHT,ContainerInput.PICKUP,AbstractContainerMenu, andItemStackTemplate.
- Updated
- Standardized output artifact naming to
bundleupgrade-fabric-26.1-1.0.0.jar.
Fixed
- Resolved toolchain, compiler, and workspace warnings for Minecraft
26.1and Java25:- Verified zero
-Xlint:allcompiler warnings across main, client, and tool sources and zero Gradle--warning-mode allbuild warnings. - Removed the unused
BundleCapacityContext#getCurrentMaxCapacity()helper and redundantcancellable = trueflag onShapedRecipeMixin. - Switched nullable annotations to JSpecify (
org.jspecify.annotations.Nullable) and aligned.vscode/settings.json,CONTRIBUTING.md, and CI workflows with Java25and Minecraft26.1.
- Verified zero
- Preserved automatic stack-splitting protection when storing more than 64 identical items in an upgraded bundle:
- Identical items inside
BundleContents.Mutableare only merged into existing partial stacks up tostack.getMaxStackSize()(64), and any remainder is split into separate standard-sizedItemStackentries (1 <= count <= 64). - Decoded
BundleContentsinstances containing legacy oversizedItemStackTemplateentries (count > maxStackSize) are split into standard-sized templates inBundleContents.<init>beforeItemStackTemplate#create()validation.
- Identical items inside
- Scaled
getUseDurationwith tier capacity so holding right-click in the world drops every stored stack in a single hold.
Features
- 5 sequential bundle tiers with cumulative capacity expansion:
- Copper Bundle (+10 -> 74 units)
- Iron Bundle (+20 -> 94 units)
- Gold Bundle (+30 -> 124 units)
- Emerald Bundle (+40 -> 164 units)
- Diamond Bundle (+50 -> 214 units)
- Base-64 weight calculation system (stack of 64 = 1 unit, stack of 16 = 4 units, unstackable = 64 units).
- Unlocked the hardcoded
Fraction.ONEoccupancy ceiling via Mixins intoBundleContents$Mutable. - Dynamic and proportional item fullness bar scaling (
getBarWidth,getBarColor) and tooltip progress bar scaling (getProgressBarFill,getProgressBarTexture). - Real-time capacity tooltip label displaying
Current / Maxunits. - Full Vanilla bundle controls: left-click to insert, right-click to extract one stack, right-click and drag across empty slots to distribute stacks, scroll wheel to select which stack to extract, and hold right-click in the world to empty.
- 3x3 shaped crafting recipes with automatic preservation of stored items (
BUNDLE_CONTENTS) and custom name (CUSTOM_NAME). - Procedural pixel-art textures (closed, open front, open back), data-driven client item models (
assets/bundleupgrade/items/*_bundle.json),#minecraft:bundlestag registration, and custom 128x128 mod icon. - Bilingual localization in English (
en_us.json) and Vietnamese (vi_vn.json).
This mod has no additional files