Bluestone

Quick rating

Community listing page, reviews may not be monitored by the author.

Bluestone

By ajjxfOwner

No reviews yet

A blue counterpart to redstone

Mod Loaders
Minecraft

About

Description

v1_0_1 Fix:

  • Bluestone Comparator now uses the same priority as vanilla AbstractRedstoneGateBlock.updatePowered
  • "蓝石比较器"现在使用与原版 AbstractRedstoneGateBlock.updatePowered 相同的优先级

v1_0_0 English

Preface

  • This mod is partially written with AI assistance, but heavily references vanilla redstone code. It may contain undiscovered bugs — please report them on GitHub.

Note: Any behavioural difference between the bluestone power system and the vanilla redstone power system should be considered a bug.

Added

  • Bluestone power system — a fully isolated parallel blue counterpart to redstone.
    • Bluestone Wire (bluestone_wire) — power-decreases-by-1, dot/line/cross connections, up-steps, all mirroring vanilla.
    • Bluestone Torch (bluestone_torch / bluestone_wall_torch) — inverts blue power, same burnout mechanic as vanilla.
    • Bluestone Repeater (bluestone_repeater) — delay 1–4 ticks, locking by blue gates.
    • Bluestone Comparator (bluestone_comparator) — compare/subtract modes, variable output, container signal reading.
    • Block of Bluestone (bluestone_block) — constant blue power source (15).
    • Bluestone Ore & Deepslate Bluestone Ore — world generation, smelting/blasting recipes, glowing on interaction.
    • Purplestone — bridge dust wire that connects to both redstone and bluestone. Crafted from 1 redstone + 1 bluestone = 2 purplestone.
    • Redstone-Bluestone Signal Converter (converter_repeater) — two-mode gate (right-click to toggle):
      • Red→Blue (default): reads redstone, outputs blue.
      • Blue→Red: reads blue, outputs redstone.
      • No delay adjustment; 1-tick delay.
    • Recipe integration — 12 vanilla redstone recipes now accept redstone/bluestone/purplestone via a shared item tag. Recipe unlock advancements updated accordingly.
    • Loot table integration — bluestone dust added to vanilla redstone loot tables (mineshafts, dungeons, strongholds, woodland mansions, village temples, witch drops, cleric gifts) with the same probability as redstone.
    • Creative tab — dedicated "Bluestone" item group.
    • Bilingual support — English and Simplified Chinese (zh_cn).

Technical

  • Option Y architecture — blue components emit zero real redstone power; a RedstoneView mixin OR-s blue power into isReceivingRedstonePower so reactive blocks (pistons, doors, lamps, etc.) respond to blue.
  • BluePower — a faithful blue mirror of RedstoneView, with colour attribution to keep red/blue systems isolated.
  • 8 Mixins — RedstoneViewMixin, RedstoneWireBlockMixin (+Accessor), RedstoneTorchBlockMixin, RedstoneWallTorchBlockMixin, ObserverBlockMixin, SculkSensorBlockMixin, LeverBlockMixin.
  • Cross-type wire connections — purplestone bridges red↔blue at the wire level with proper -1 signal decay and self-energising prevention.

版本1_0_0 中文

前言

  • 本模组部分使用 AI 编写,但大量参考原版红石代码,可能含有未发现的 bug——欢迎到 GitHub 提交新的 issue。

注意: 所有蓝石能量系统中表现与原版红石能量系统不同的,一律视作 bug。

内容

  • 蓝石能量系统 — 完全隔离的蓝石并行能量系统,与红石互不干扰。
    • 蓝石粉(bluestone_wire)— 信号每格衰减1,点/线/十字连接,上台阶,全部镜像原版。
    • 蓝石火把(bluestone_torch / bluestone_wall_torch)— 反相蓝石信号,烧毁机制与原版一致。
    • 蓝石中继器(bluestone_repeater)— 1-4档延时,蓝石门锁存。
    • 蓝石比较器(bluestone_comparator)— 比较/减法模式,可变输出,容器信号读取。
    • 蓝石块(bluestone_block)— 恒定蓝石能量源(15)。
    • 蓝石矿石 & 深层蓝石矿石 — 世界生成,烧炼/高炉配方,交互时发光。
    • 紫石 — 桥接导线,同时连接红石和蓝石。配方:1红石 + 1蓝石 = 2紫石。
    • 红蓝信号转换器(converter_repeater)— 双模式门(右键切换):
      • 红转蓝(默认):读取红石,输出蓝石。
      • 蓝转红:读取蓝石,输出红石。
      • 无档位调节;1档延时。
    • 配方整合 — 12个原版红石配方现通过共享物品标签接受红石/蓝石/紫石。配方解锁条件同步更新。
    • 战利品表整合 — 蓝石粉加入原版红石战利品表(废弃矿井、地牢、要塞、林地府邸、村庄神殿、女巫掉落、牧师礼物),概率与红石相同。
    • 创造模式物品栏 — 专用"蓝石方块"物品组。
    • 双语支持 — 英语和简体中文(zh_cn)。

技术细节

  • Option Y 架构 — 蓝石组件不发射任何真实红石能量;通过 RedstoneView Mixin 将蓝石能量 OR 进 isReceivingRedstonePower,使反应方块(活塞、门、灯等)响应蓝石。
  • BluePower — RedstoneView 的蓝色镜像,通过颜色归属系统保持红/蓝隔离。
  • 8个 Mixin — RedstoneViewMixin、RedstoneWireBlockMixin(+Accessor)、RedstoneTorchBlockMixin、RedstoneWallTorchBlockMixin、ObserverBlockMixin、SculkSensorBlockMixin、LeverBlockMixin。
  • 跨类型导线连接 — 紫石在导线层面桥接红↔蓝,具有正确的 -1 信号衰减和防自充能机制。