天境矿石

基本信息

注册名 中文名 类 硬度 抗性 采集等级 注册行
aether_legacy:ambrosium_ore 神能晶矿石 BlockAetherOre(meta 0) 3.0 5.0 镐 0 BlocksAether.java:140-142
aether_legacy:zanite_ore 紫晶矿石 BlockAetherOre(meta 1) 3.0 5.0 镐 1 BlocksAether.java:143
aether_legacy:gravitite_ore 重力矿石 BlockFloating 5.0 — 镐 2 BlocksAether.java:144-147
aether_legacy:enchanted_gravitite 魔淬重力晶矿 BlockFloating(leveled=true) 5.0 — 镐 2 BlocksAether.java:148-152

BlockAetherOre 的硬度 3.0 / 抗性 5.0 设在 BlockAetherOre.java:28-29;BlockFloating 继承原版 Block 默认抗性,仅显式设置了硬度(BlocksAether.java:146、:150)。

功能

三种矿石分别对应天境的三条材料线,并驱动整套工具与装备的合成链:

矿石 掉落物 经验 用途
神能晶矿石 aether_legacy:ambrosium_shard(神能碎片) 0–2 起始材料,用于合成紫晶
紫晶矿石 aether_legacy:zanite_gemstone(紫晶) 2–5 中阶材料,天境工具的主材
重力矿石 自身(BlockFloating 不改掉落) — 高阶材料,重力工具与装备的主材

掉落判定在 BlockAetherOre.getItemDropped(BlockAetherOre.java:65-66):

return this == BlocksAether.zanite_ore ? ItemsAether.zanite_gemstone : ItemsAether.ambrosium_shard;

经验掉落 getExpDrop(BlockAetherOre.java:83-101):

  • 神能晶矿石:MathHelper.getRandomIntegerInRange(random, 0, 2)(:90-91)
  • 紫晶矿石:MathHelper.getRandomIntegerInRange(random, 2, 5)(:92-93)

两者的经验都只有「掉落物 ≠ 方块物品」时才发放(:88),即用镐挖才掉经验。

时运加成

quantityDroppedWithBonus(BlockAetherOre.java:70-82)采用原版式时运公式:random.nextInt(fortune + 2) - 1,结果为负时钳到 0,最终为 quantityDropped * (j + 1)。

重力矿石的浮空特性

gravitite_ore 与 enchanted_gravitite 使用 BlockFloating 而非 BlockAetherOre。BlockFloating 提供「浮动方块」表现 —— 天境中重力矿石会悬空不落。enchanted_gravitite 构造时第二个参数为 true(BlocksAether.java:150),而 gravitite_ore 为 false(:146),该布尔值在 BlockFloating 构造中名为 leveled(BlockFloating.java:19)。

enchanted_gravitite 由附魔产出,注册为稀有物品(EnumRarity.rare,BlocksAether.java:152)。

数值

数值名 值 来源
神能晶矿石硬度 3.0 BlockAetherOre.java:28
神能晶矿石抗性 5.0 BlockAetherOre.java:29
重力矿石硬度 5.0 BlocksAether.java:146
神能晶经验范围 0–2 BlockAetherOre.java:90-91
紫晶经验范围 2–5 BlockAetherOre.java:92-93
重力矿石采集等级 镐 2 BlocksAether.java:393(gravitite_ore)、:397(enchanted_gravitite)
紫晶矿石采集等级 镐 1 BlocksAether.java:392

合成配方

  • ambrosium_shard → zanite_gemstone:4 个神能碎片环绕 1 个紫晶碎片状中间物,具体摆放见资源包 assets/aether_legacy/recipes/
  • gravitite_ore 无直接掉落物,需要用附魔转化,配方见资源包 assets/aether_legacy/recipes/

相关条目