bundleupgrade-fabric-26.2-1.0.0.jar
Curse Maven Snippet
What's new
Changelog
[1.0.0] (Minecraft 26.2 - Fabric)
Changed
- Upgraded Bundle Upgrade to Minecraft
26.2(fabric-api=0.161.0+26.2,fabric-loader=0.20.1,loom_version=1.19.4, Gradle9.9.2) on Java 25. - Updated mod dependencies (
fabric.mod.json"minecraft": "~26.2"), documentation (README.md,CONTRIBUTING.md,tools/TextureGenerator.java), and GitHub Actions workflows (.github/workflows/build.yml,.github/workflows/release.yml) for Minecraft26.2. - Built on the unobfuscated Minecraft
26.2toolchain:- Uses
net.fabricmc.fabric-loom(1.19.4) without Yarn/remap configurations, standardimplementationdependencies, Java25, and MixincompatibilityLevelJAVA_25. - Uses official Mojang names and Fabric API
26.2conventions across all common and client sources and Mixins:ModItems:BuiltInRegistries.ITEM,Registries.ITEM,Identifier.fromNamespaceAndPath,Item.Properties#setId,Item.Properties#stacksTo,DataComponents.BUNDLE_CONTENTS,BundleContents.EMPTY, andCreativeModeTabEvents.modifyOutputEvent(CreativeModeTabs.TOOLS_AND_UTILITIES)viaoutput.insertAfter(...).UpgradedBundleItem&BundleItemMixin:overrideStackedOnOther,overrideOtherStackedOnMe,getUseDuration,isBarVisible,getBarWidth,getBarColor,getTooltipImage,getFullnessDisplay,ARGB.colorFromFloat,Mth.mulAndTruncate, and safeDataResult<Fraction>weight extraction fromBundleContents#weight().BundleContentsBuilderMixin,BundleContentsComponentAccessor,BundleContentsComponentMixin, &BundleStackHelper: adapted forBundleContents,BundleContents.Mutable,ItemInstance, andItemStackTemplate.ShapedRecipeMixin: adapted forShapedRecipe#assemble(CraftingInput)andCraftingInput#items().BundleTooltipDataMixin,TooltipComponentMixin, &BundleTooltipComponentMixin: adapted forBundleTooltip,ClientTooltipComponent#create(TooltipComponent), andClientBundleTooltip's staticgetProgressBarFill(Fraction),getProgressBarTexture(Fraction), andgetProgressBarFillText(Fraction)methods withextractImagecapacity context tracking.HandledScreenMixin: adapted forAbstractContainerScreen,MouseButtonEvent,InputConstants.MOUSE_BUTTON_RIGHT,ContainerInput.PICKUP,AbstractContainerMenu, andItemStackTemplate.
- Uses
- Standardized output artifact naming to
bundleupgrade-fabric-26.2-1.0.0.jar.
Fixed
- Resolved toolchain, compiler, and workspace warnings for Minecraft
26.2and 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.2.
- 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