Expanded Redstone

支持所有近期版本:从 1.17 至 26.3
本模组修复与新增内容
- 中继器(Relays): 一种非导能方块(如玻璃、楼梯、台阶、漏斗、杜鹃花等)的变体,可绕过红石信号的硬编码向下传输限制。
中继器允许红石粉尘信号向下传递,同时保持为非导能方块。其合成方式为:在十字形排列的 4 个非导能方块中间放置 1 个紫水晶碎片。
***→ 趣味事实:*目前 Minecraft 中最长的物品名称将是:“中继器 氧化锈制切制铜楼梯”
- 红石灯笼: 灵感来源于 Redstone Lantern 模组的方块模型,是一款简单的红石版灯笼。相比红石火把,它的强度更高:灯笼变体会强力激活(红石火把仅会强力激活上方方块)周围所有相邻方块,悬挂方块除外。此外,红石灯笼的烧尽时间翻倍,使其不再只能运行 8 个时钟周期,而是 16 个。
本模组还添加了两个可选的 QoL 资源包,以便更好地在物品栏或方块模型中区分中继器和普通方块。
→ 欢迎通过 GitHub Issue 提出更多功能建议!
原版
新式中继器
对于红石工程师来说,了解中继器向下传播背后的代码逻辑可能很有用。这是本模组对红石代码的唯一修改:
/** Adds relay blocks to the vertical-diode decision without changing vanilla blocks. */
@Mixin(RedstoneWireEvaluator.class)
// Assumes priority 1000 and a Minecraft version higher than 1.21.2
// Before 1.21.2 the wire signal is computed in RedStoneWireBlock class instead of in RedstoneWireEvaluator: same relay logic though
public abstract class RedstoneWireEvaluatorMixin {
@Shadow protected abstract int getWireSignal(BlockPos pos, BlockState state);
@Inject(method = "getIncomingWireSignal", at = @At("HEAD"), cancellable = true)
private void expandedredstone$allowRelayDownward(Level level, BlockPos pos,
CallbackInfoReturnable<Integer> cir) {
int i = 0;
for(Direction direction : Direction.Plane.HORIZONTAL) {
BlockPos neighborPos = pos.relative(direction);
BlockState neighborState = level.getBlockState(neighborPos);
i = Math.max(i, this.getWireSignal(neighborPos, neighborState));
BlockPos abovePos = pos.above();
// isRelay OR added within the isRedsoneConductor check, since a below pos can access power if such neighbor block is a relay
if ((neighborState.isRedstoneConductor(level, neighborPos) || expandedredstone$isRelay(neighborState)) && !level.getBlockState(abovePos).isRedstoneConductor(level, abovePos)) {
BlockPos aboveNeighborPos = neighborPos.above();
i = Math.max(i, this.getWireSignal(aboveNeighborPos, level.getBlockState(aboveNeighborPos)));
}
if (!neighborState.isRedstoneConductor(level, neighborPos)) { // else removal, since now it is a dual logic
BlockPos belowNeighborPos = neighborPos.below();
i = Math.max(i, this.getWireSignal(belowNeighborPos, level.getBlockState(belowNeighborPos)));
}
}
cir.setReturnValue(Math.max(0, i - 1));
}
@Unique
private static boolean expandedredstone$isRelay(BlockState state) {
return state.getBlock() instanceof Relay relay && relay.isRelay(state);
}
}
/*
For comparison, this is how vanilla computes the signal instead:
protected int getIncomingWireSignal(Level level, BlockPos blockPos) {
int i = 0;
```java
for (Direction direction : Plane.HORIZONTAL) {
BlockPos blockPos2 = blockPos.relative(direction);
BlockState blockState = level.getBlockState(blockPos2);
i = Math.max(i, this.getWireSignal(blockPos2, blockState));
BlockPos blockPos3 = blockPos.above();
if (blockState.isRedstoneConductor(level, blockPos2) && !level.getBlockState(blockPos3).isRedstoneConductor(level, blockPos3)) {
BlockPos blockPos4 = blockPos2.above();
i = Math.max(i, this.getWireSignal(blockPos4, level.getBlockState(blockPos4)));
} else if (!blockState.isRedstoneConductor(level, blockPos2)) {
BlockPos blockPos4 = blockPos2.below();
i = Math.max(i, this.getWireSignal(blockPos4, level.getBlockState(blockPos4)));
}
}
return Math.max(0, i - 1);
}
*/
Redstone Lantern
它向周围的 5 个相邻方块发送强信号(悬挂状态下为 6 个,排除下方),并充当功能更强大的红石火把。
与红石火把相比,其烧毁时间翻倍,从而产生 16 个时钟周期而非 8 个。以下是一些演示:
如果需要检查该方块的运行机制,以下是 Redstone Lantern 的主要功能实现:
//? if >=1.21.2 {
protected Orientation randomOrientation(Level level) {
return ExperimentalRedstoneUtils.initialOrientation(level, null, Direction.UP);
}
//? }
public boolean isSignalSource(BlockState blockState) {
return blockState.getValue(LIT);
}
public int getSignal(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, Direction direction) {
if(blockState.getValue(LIT)){
if(blockState.getValue(HANGING)){
return Direction.DOWN != direction ? 15 : 0;
}else{
return Direction.UP != direction ? 15 : 0;
}
}else{
return 0;
}
}
public int getDirectSignal(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, Direction direction) {
if(blockState.getValue(LIT)){
if(blockState.getValue(HANGING)){
return Direction.DOWN != direction ? 15 : 0;
}else{
return Direction.UP != direction ? 15 : 0;
}
}else{
return 0;
}
}
protected boolean hasNeighborSignal(Level world, BlockPos pos, BlockState state) {
return shouldUnpower(state, world, pos);
}
protected boolean shouldUnpower(BlockState state, Level level, BlockPos pos) {
if(state.getValue(HANGING)) return level.hasSignal(pos.above(), Direction.UP);
else return level.hasSignal(pos.below(), Direction.DOWN);
}
非常感谢您的反馈和错误报告! Bug tracker。
也非常欢迎您加入我的 Discord 服务器! Discord server。
🐛 Bug reports, issues or suggestions
由于 Expanded Redstone 处于早期开发阶段,您可能会发现一些错误。请在 GitHub 上报告可复现的问题,并使用 Discord 服务器进行一般性提问和交流。
请将 GitHub Issue 也用于提交建议和改进方案!
Credits
感谢以下项目/作者:
- Redstone Lantern,提供了 Redstone Lantern 的纹理、模型和方块状态数据。但该模组的代码并未被参考或查看,其行为逻辑是本模组的原创作品。
一款结构完整、运行良好的反作弊模组,适用于较新的 Minecraft 版本。面向整合包、休闲服务器及大型社区设计。
Freecam 的一个完整且优化良好的分支,防止了诸如在“固体”方块和岩浆上移动以及透视洞穴等类似作弊的功能。
此 Mod/插件将基岩版中所有支持红石组件的水浸方块扩展到了 Java 版。
此项目将所有基岩版支持水浸的方块扩展到了 Java 版。同时也附带配置文件!
ViaAlert (ViaVersion Addon) - (1.21.11 - 26.4)
让您在 Fabric 服务器上看到玩家加入时使用的版本以及他们使用的客户端来源。
这是一个更加完善的科技类模组,添加了一个全新的能量系统——Cobalt Energy System。它与红石并行工作,不同之处在于它与红石信号不兼容且支持水浸,此外还有更多特性,例如最高 60 点的能量强度。
📃 Terms of Use and Attribution | Usage of Expanded Redstone in Modpacks (only Modrinth allowed)
Expanded Redstone is proprietary software by Kole07139 distributed under All Rights Reserved (ARR). Only and only downloadable on the website . There are unofficial and illegal builds on the web that are not affiliated with me, and they may contain viruses. Every illegal redistribution will be removed due to Copyright and sued.
Copyright © 2026 kole07139. All Rights Reserved. License URL:
Expanded Redstone 的所有原始源代码、编译后的二进制文件、资源素材、文档、品牌标识及其他原始组件均受知识产权法保护。您不得重新发布该作品,仅可在提供原作者署名并链接回官方 Modrinth 页面的前提下提及它,且严禁利用下载链接获利,下载必须仅通过 Modrinth 平台进行。
下载 Expanded Redstone 并不授予所有权、再分发权、修改权、商业开发权或对项目任何部分进行分许可的权限。
货币化与商业使用及发布 — 严格禁止
未经版权持有人事先明确的书面授权,严禁对 Expanded Redstone(代码或资源素材)进行任何商业开发。
此限制包括但不限于:
- 付费整合包: 出售、授权、设置付费墙或以其他方式商业性利用包含 Expanded Redstone 或其部分(包括资源素材)的整合包。
- 广告收益: 通过广告、赞助下载链接、URL 缩短器、联盟计划或第三方广告平台从 Expanded Redstone 的分发中获取收入。
等等……
Expanded Redstone 免费提供这一事实并不授权任何人对其进行商业开发,其资源素材亦同。
整合包、再分发与第三方托管
除非根据适用平台条款获得独立授权,或经版权持有人明确书面许可:
- 禁止重新上传、镜像、再分发、重新打包或托管 Expanded Redstone 的二进制文件或资源素材。
- 禁止将 Expanded Redstone(或其资源素材)直接捆绑到第三方启动器、独立发行版、商业整合包或安装程序中。
- 禁止分发经过修改、更名、重新打包或非官方的 Expanded Redstone 或其资源素材版本。
- 禁止将官方下载链接替换为第三方下载服务。
- 禁止声称自己是 Expanded Redstone 的作者、获得其官方背书、存在合作关系或关联关系。
- 禁止以暗示官方发布或背书的方式使用 Expanded Redstone 的名称、标志或品牌标识。
整合包:在您的 Modrinth 整合包中使用 Expanded Redstone 的唯一允许方式,是在您的模组描述中直接链接回 Expanded Redstone 的 Modrinth 页面。其他平台的使用是被禁止的。
EXPANDED REDSTONE 下载:允许下载 Expanded Redstone 的唯一途径是通过 Modrinth 平台(涉及上述声明的整合包或 Expanded Redstone Modrinth 页面:),否则将被视为侵犯版权而移除。
允许的使用
在适用分发平台条款的前提下,用户可以为个人非商业用途下载、安装、配置和运行官方的 Expanded Redstone 版本。
非商业服务器管理员可以在无需单独授权的情况下使用官方版本,前提是他们不重新分发未经授权的副本或不商业性利用 Expanded Redstone。
对于普通游戏和服务器管理,建议引导玩家访问官方项目页面。
Expanded Redstone 可免费下载和使用,但前提是保持原样。未经作者书面许可,不得再分发、转售、修改后用于分发、重新发布其 JAR 文件、为其提供赞助,或在整合包中未正确标记的情况下将其用于整合包(仅限 Modrinth),也不得进行商业开发,更不得在任何情况下从其公共仓库或 JAR 文件中提取并使用资源素材。在进行任何操作之前,请阅读使用条款和许可证。如有疑问,请在 Discord 上联系作者。未经作者 Kole07139 的正式、书面许可,请勿执行上述任何操作。
版权所有 © 2026 kole07139。保留所有权利。
Expanded Redstone

Targets every recent version: from 1.17 up to 26.3
What this mod fix and add
- Relays: A variant of non-conductive blocks (Glass, stair, slab, hopper, azalea, ecc...) which bypass the hardcoded downward-block transmission for redstone signals.
A relay simply allows the redstone dust signal to pass downward, while remaining a non-conductive block. They are crafted with 1 central amethyst shard bounded by 4 of your non-conductive block in a cross shape.
→ Fun fact: now the longest name in Minecraft will be: "Relay Waxed Weathered Cut Copper Stairs"
- Redstone Lantern: A simple redstone variant of the lantern, inspired to the block models of Redstone Lantern Mod. It is more powerful compared to the Redstone Torch, as the Lantern variant will strongly power (A Redstone Torch always strong powers the upper block) every neighbor block, exception made for the hanging block. Also, the Redstone Lantern burnout has been doubled in time, resulting not in 8 clocks but 16 clocks.
This mod also adds two optional QoL resource packs to better identify, whether in the inventory or in the block model, the difference between a Relay and a normal block.
→ Feel free to suggest more features as a GitHub issue!
Vanilla
New Relays
For redstoners, it might actually be useful to know whats the code behind the downward propagation in relays. This is the only thing this mod affects in the redstone code:
/** Adds relay blocks to the vertical-diode decision without changing vanilla blocks. */
@Mixin(RedstoneWireEvaluator.class)
// Assumes priority 1000 and a Minecraft version higher than 1.21.2
// Before 1.21.2 the wire signal is computed in RedStoneWireBlock class instead of in RedstoneWireEvaluator: same relay logic though
public abstract class RedstoneWireEvaluatorMixin {
@Shadow protected abstract int getWireSignal(BlockPos pos, BlockState state);
@Inject(method = "getIncomingWireSignal", at = @At("HEAD"), cancellable = true)
private void expandedredstone$allowRelayDownward(Level level, BlockPos pos,
CallbackInfoReturnable<Integer> cir) {
int i = 0;
for(Direction direction : Direction.Plane.HORIZONTAL) {
BlockPos neighborPos = pos.relative(direction);
BlockState neighborState = level.getBlockState(neighborPos);
i = Math.max(i, this.getWireSignal(neighborPos, neighborState));
BlockPos abovePos = pos.above();
// isRelay OR added within the isRedsoneConductor check, since a below pos can access power if such neighbor block is a relay
if ((neighborState.isRedstoneConductor(level, neighborPos) || expandedredstone$isRelay(neighborState)) && !level.getBlockState(abovePos).isRedstoneConductor(level, abovePos)) {
BlockPos aboveNeighborPos = neighborPos.above();
i = Math.max(i, this.getWireSignal(aboveNeighborPos, level.getBlockState(aboveNeighborPos)));
}
if (!neighborState.isRedstoneConductor(level, neighborPos)) { // else removal, since now it is a dual logic
BlockPos belowNeighborPos = neighborPos.below();
i = Math.max(i, this.getWireSignal(belowNeighborPos, level.getBlockState(belowNeighborPos)));
}
}
cir.setReturnValue(Math.max(0, i - 1));
}
@Unique
private static boolean expandedredstone$isRelay(BlockState state) {
return state.getBlock() instanceof Relay relay && relay.isRelay(state);
}
}
/*
For comparison, this is how vanilla computes the signal instead:
protected int getIncomingWireSignal(Level level, BlockPos blockPos) {
int i = 0;
for(Direction direction : Plane.HORIZONTAL) {
BlockPos blockPos2 = blockPos.relative(direction);
BlockState blockState = level.getBlockState(blockPos2);
i = Math.max(i, this.getWireSignal(blockPos2, blockState));
BlockPos blockPos3 = blockPos.above();
if (blockState.isRedstoneConductor(level, blockPos2) && !level.getBlockState(blockPos3).isRedstoneConductor(level, blockPos3)) {
BlockPos blockPos4 = blockPos2.above();
i = Math.max(i, this.getWireSignal(blockPos4, level.getBlockState(blockPos4)));
} else if (!blockState.isRedstoneConductor(level, blockPos2)) {
BlockPos blockPos4 = blockPos2.below();
i = Math.max(i, this.getWireSignal(blockPos4, level.getBlockState(blockPos4)));
}
}
return Math.max(0, i - 1);
}
*/
Redstone Lantern
It sends strong signal to the 5 neighbors around it (6 except the hanged block) and acts as a way more powerful redstone torch.
Compared to the redstone torch, the burnout time is doubled, resulting in 16 clocks instead of 8. Here some demos:
Principal functionalities of the Redstone Lantern are also shown here if redstoners want to inspect the behavior of the block:
//? if >=1.21.2 {
protected Orientation randomOrientation(Level level) {
return ExperimentalRedstoneUtils.initialOrientation(level, null, Direction.UP);
}
//? }
public boolean isSignalSource(BlockState blockState) {
return blockState.getValue(LIT);
}
public int getSignal(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, Direction direction) {
if(blockState.getValue(LIT)){
if(blockState.getValue(HANGING)){
return Direction.DOWN != direction ? 15 : 0;
}else{
return Direction.UP != direction ? 15 : 0;
}
}else{
return 0;
}
}
public int getDirectSignal(BlockState blockState, BlockGetter blockGetter, BlockPos blockPos, Direction direction) {
if(blockState.getValue(LIT)){
if(blockState.getValue(HANGING)){
return Direction.DOWN != direction ? 15 : 0;
}else{
return Direction.UP != direction ? 15 : 0;
}
}else{
return 0;
}
}
protected boolean hasNeighborSignal(Level world, BlockPos pos, BlockState state) {
return shouldUnpower(state, world, pos);
}
protected boolean shouldUnpower(BlockState state, Level level, BlockPos pos) {
if(state.getValue(HANGING)) return level.hasSignal(pos.above(), Direction.UP);
else return level.hasSignal(pos.below(), Direction.DOWN);
}
Feedback and bug reports are greatly appreciated! Bug tracker.
Joining my Discord is also strongly encouraged! Discord server.
🐛 Bug reports, issues or suggestions
As Expanded Redstone is in an early development stage, you may find bugs. Please report reproducible issues on GitHub and use the Discord server for general questions and discussion.
Please, use the GitHub issue report for suggestions and enhancements too!
Credits
Thanks to:
- Redstone Lantern, for textures, models and block states of the Redstone Lantern. The code of that mod was not taken nor seen though, the behavior is an original work of this mod.
A complete well shaped and live anti-cheat for the newer minecraft versions. Modpack oriented, casual servers, huge communities.
A complete well shaped fork of Freecam, which prevents Hack-like features such as traveling on "solid" blocks and lava, and cave-peeking.
This Mod/Plugin extends all Bedrock Edition Redstone components waterloggable blocks into Java Edition.
This projects extends all Bedrock Edition waterloggable blocks into Java Edition. Comes with a config too!
ViaAlert (ViaVersion Addon) - (1.21.11 - 26.4)
It lets you see when people join into your Fabric server which version are they using, and which client they are from.
This is a more shaped technical mods, which adds a complete new energy system called Cobalt Energy System, which works parallelly to Redstone, being different in the fact that it is not compatible with redstone signals and that it is waterloggable, and even more features, such as an up to 60 power strength.
📃 Terms of Use and Attribution | Usage of Expanded Redstone in Modpacks (only Modrinth allowed)
Expanded Redstone is proprietary software by Kole07139 distributed under All Rights Reserved (ARR). Only and only downloadable on the website . There are unofficial and illegal builds on the web that are not affiliated with me, and they may contain viruses. Every illegal redistribution will be removed due to Copyright and sued.
Copyright © 2026 kole07139. All Rights Reserved. License URL:
All original source code, compiled binaries, assets, documentation, branding, and other original components of Expanded Redstone are protected by intellectual property laws. You cannot republish the work, and you can mention it only and only providing original credit to the Author and link back to the official modrinth page: without exploiting the download links, that must happen only through the Modrinth Platform.
Downloading Expanded Redstone does not grant ownership, redistribution rights, modification rights, commercial exploitation rights, or permission to sublicense any part of the project.
Monetization & Commercial Use & Publishing — STRICTLY PROHIBITED
Any commercial exploitation of Expanded Redstone (code or assets) is expressly prohibited without prior, explicit, written authorization from the copyright holder.
This restriction includes, but is not limited to:
- Paid modpacks: Selling, licensing, paywalling, or otherwise commercially exploiting modpacks that incorporate Expanded Redstone or parts of it (including assets).
- Advertising revenue: Generating revenue from Expanded Redstone distributions through advertisements, sponsored download links, URL shorteners, affiliate programs, or third-party advertising platforms.
and more...
The fact that Expanded Redstone is available free of charge does not authorize anyone to commercially exploit it, and the same applies to its assets.
Modpacks, Redistribution & Third-Party Hosting
Unless independently authorized under applicable platform terms or expressly permitted in writing by the copyright holder:
- Reuploading, mirroring, redistributing, repackaging, or hosting Expanded Redstone binaries or its assets is prohibited.
- Bundling Expanded Redstone (or its assets) directly into third-party launchers, standalone distributions, commercial modpacks, or installation packages is prohibited.
- Distributing modified, renamed, repackaged, or unofficial versions of Expanded Redstone or its assets is prohibited.
- Replacing official download links with third-party download services is prohibited.
- Claiming authorship, official endorsement, partnership, or affiliation with Expanded Redstone is prohibited.
- Using the Expanded Redstone name, logo, or branding in ways suggesting an official release or endorsement is prohibited.
MODPACKS: The only allowed method to use Expanded Redstone in your Modrinth Modpacks (other platforms are prohibited), is by linking back, in your Mod's Description, directly to Expanded Redstone Modrinth page ().
EXPANDED REDSTONE DOWNLOAD: The allowed method to download Expanded Redstone is only through the Modrinth platform (Modpacks that subjects to the above statement or the Expanded Redstone Modrinth page: ), anything else will be removed due to Copyright violation.
Permitted Use
Subject to the applicable distribution platform's terms, users may download, install, configure, and run official Expanded Redstone releases for personal, non-commercial purposes.
Non-commercial server administrators may use official releases without requesting individual authorization, provided they do not redistribute unauthorized copies or commercially exploit Expanded Redstone.
For ordinary gameplay and server administration, linking players to the official project page is encouraged.
Expanded Redstone is free to download and use as it is. It is not free to redistribute, resell, modify for distribution, republish its jars or sponsor it without written permission of the author, or use it in modpacks without properly tagging it in your modpack changelog and description (modrinth only), or commercially exploit, or use assets from its public repository or from its jar in any case. Read the terms of use and the license before proceeding doing anything. On doubt write the author on Discord. Do not do any of the above without a proper, formal, written permission from the author, Kole07139.
Copyright © 2026 kole07139. All Rights Reserved.
评论 0
登录后参与评分
还没有评论,来抢沙发吧