Compressed Blood Magic

A Minecraft 1.20.1 Forge addon for Blood Magic that adds five tiers of compressed structure blocks, high-capacity blood altar storage, and a one-click altar builder.
Back to Files

compressedbloodmagic-1.0.1.jar

File namecompressedbloodmagic-1.0.1.jar
Uploader
gugugaga233gugugaga233
Uploaded
Oct 2, 2026
Downloads
57
Size
302.7 KB
Mod Loaders
Forge
File ID
9039137
Type
R
Release
Supported game versions
  • 1.20.1

Curse Maven Snippet

Forge

implementation fg.deobf("curse.maven:compressed-blood-magic-1720778:9039137")

Learn more about Curse Maven

What's new

Compressed Blood Magic 1.0.1

中文

压缩结构与短板规则

  • 完善一重至五重压缩祭坛、压缩符文和压缩结构方块。
  • 每重压缩代表九倍结构方块效果。
  • 祭坛本体、功能结构方块和非功能结构方块都会参与压缩等级判定。
  • 空白符文不参与短板判定,也不会限制祭坛等级。
  • 祭坛最终等级取祭坛本体和所有有效非空白结构方块中的最低压缩等级。
  • 如果其他结构方块都是五重,但其中一个结构方块只有四重,整座祭坛最高只能按照四重运行。
  • 高等级符文放入低等级祭坛时,符文数量和效果会按照最终短板等级计算。

精确血量存储

  • 一重压缩容量使用 long 存储。
  • 二重至五重压缩容量使用前置提供的 AbsoluteInteger 精确大数存储。
  • 高等级容量不再使用 int 作为真实存储。
  • Forge FluidStack 不再作为高等级容量的权威数据。
  • 修复容量经过 int 中间值后卡在 2147483647 的问题。
  • 支持超大血量、容量、充能值和 NBT 精确保存。
  • AbsoluteInteger 改为由 Parallel API 和 Flux Networks Ultimate Addon 前置提供。

一键搭建器

  • 新增压缩祭坛一键搭建器。
  • 可以自动搭建五级祭坛结构。
  • 生存模式会检查背包材料,并在搭建成功后扣除材料。
  • 创造模式不检查材料,也不会扣除物品。
  • 搭建前会检查空间、区块和材料,失败时不会留下半成品。
  • 空白符文使用普通空白符文,不会额外消耗压缩空白符文。

规则说明物品

  • 新增压缩血魔法规则说明物品。
  • 右键物品可以查看短板规则、容量规则和一键搭建规则。
  • 增加中文和英文翻译键。
  • 说明内容包括功能结构方块、非功能结构方块、空白符文和祭坛本体的短板关系。
  • 说明不同压缩等级对应的血量存储方式。

物品与界面

  • 压缩物品保留原有贴图。
  • 压缩物品按照压缩等级显示不同名称。
  • 压缩物品在物品栏中带有附魔光效。
  • 新增压缩血魔法创造模式物品栏。
  • 新增 Mod 图标。
  • 血魔法护符现在可以显示精确的当前血量和当前容量。
  • 超大数值使用 K、M、B、T、Qa 等缩写显示,内部数值仍然保持精确。

性能优化

  • 缓存祭坛的精确容量。
  • 缓存最大充能值和容量显示文本。
  • 避免每次献祭都复制和计算完整的巨大 AbsoluteInteger。
  • 小额献祭优先使用快速比较,只有接近容量上限时才执行完整大数计算。
  • 优化大数比较、祭坛升级检查和护符显示。
  • 减少超大容量祭坛在献祭时造成的服务器主线程卡顿。

前置依赖

  • Minecraft 1.20.1
  • Forge 47 或更高版本
  • Blood Magic 3.3.8-50 或更高版本
  • Parallel API 1.0.2 或更高版本
  • Flux Networks Ultimate Addon 1.0.18 或更高版本
  • Flux Networks 7.2.1.15 至 7.2.1.x

English

Compressed Structures and Bottleneck Rules

  • Improved compressed altars, compressed runes, and compressed structure blocks from compression level one to five.
  • Each compression level represents nine times the structure effect.
  • The altar block, functional structure blocks, and non-functional structure blocks all participate in compression-level checks.
  • Blank runes are neutral and do not limit the altar tier.
  • The final altar tier is determined by the lowest valid compression level.
  • If all other components are tier five but one component is tier four, the entire altar is limited to tier four.
  • Higher-tier runes are capped by the effective bottleneck tier.

Exact Blood Storage

  • Level-one compressed storage uses long.
  • Levels two through five use the exact AbsoluteInteger type supplied by the dependency chain.
  • High-tier capacity no longer uses int as authoritative storage.
  • Forge FluidStack is no longer the authoritative storage for high-tier capacity.
  • Fixed capacity values becoming stuck at 2147483647 because of intermediate int conversions.
  • Large blood amounts, capacity values, charging values, and NBT data are preserved exactly.
  • AbsoluteInteger is now provided through the Parallel API and Flux Networks Ultimate Addon dependencies.

One-Click Builder

  • Added the Compressed Altar Builder.
  • Automatically builds the supported tier-five altar structure.
  • Survival mode checks and consumes materials from the player's inventory.
  • Creative mode skips material checks and material consumption.
  • Performs space, chunk, and material checks before placing blocks.
  • Uses ordinary blank runes instead of consuming compressed blank runes.

Guide Item

  • Added the Compressed Blood Magic Guide item.
  • Right-clicking the guide displays the bottleneck, storage, and builder rules.
  • Added Chinese and English translation keys.
  • The guide explains functional blocks, non-functional blocks, blank runes, and altar bottleneck behavior.
  • The guide explains the storage type used by each compression level.

Items and Interface

  • Compressed items keep their original textures.
  • Compressed items receive tier-specific names.
  • Compressed items have an enchantment glint in the inventory.
  • Added a dedicated creative tab.
  • Added a mod icon.
  • Blood Magic divination sigils now display exact current blood and capacity values.
  • Very large values use suffixes such as K, M, B, T, and Qa while internal values remain exact.

Performance Improvements

  • Cached exact altar capacity values.
  • Cached maximum charging values and formatted capacity text.
  • Avoided copying and recalculating the entire huge AbsoluteInteger value for every sacrifice tick.
  • Small sacrifices use fast comparisons first and only perform full exact arithmetic near the capacity limit.
  • Optimized large-number comparisons, altar upgrade checks, and sigil display updates.
  • Reduced server-thread stalls caused by sacrificing into very large-capacity altars.

Dependencies

  • Minecraft 1.20.1
  • Forge 47 or newer
  • Blood Magic 3.3.8-50 or newer
  • Parallel API 1.0.2 or newer
  • Flux Networks Ultimate Addon 1.0.18 or newer
  • Flux Networks 7.2.1.15 through 7.2.1.x

This mod has no additional files