跳到正文

Piston Pro Plus

作者:juzizhen

A Minecraft 1.20.1 Fabric mod that dramatically enhances piston functionality with customizable push limits, command block support, and the ability to push nearly any block through configurable commands and settings.

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

PistonProPlus

Make Piston Great Again.

License: GPLv3
Minecraft
Mod Loader

A server-side Fabric mod for Minecraft that enhances piston behavior with configurable push limits, advanced block pushing control, and NBT data preservation.

Features

  • Configurable Push Limit — Break the vanilla 12-block restriction, set any limit from 1 to 4096
  • Infinite Push Mode — Set the limit to a negative value to enable virtually unlimited pushing
  • Type-Based Block Control — Individually toggle whether command blocks and all other blocks can be pushed
  • NBT Preservation — Block entity data (e.g. command block commands) is retained through piston pushes
  • Hot-Reload — Change configuration on the fly with /pistonproplus reload, no restart needed
  • Full i18n — English and Chinese built-in; easy to extend

Commands

Push Limit

| Command | Permission | Description |
|—————————————-|————–|—————————————————————|
| /pistonproplus pushlimit set <limit> | OP (level 4) | Set piston push limit (1-4096). Use -1 for infinite mode. |
| /pistonproplus pushlimit get | None | Display the current push limit and mode. |

Type Limit

| Command | Permission | Description |
|——————————————————|————–|——————————————————————————-|
| /pistonproplus typelimit commandblock [true/false] | OP (level 4) | Toggle or query command block pushing. |
| /pistonproplus typelimit all [true/false] | OP (level 4) | Toggle or query all-blocks pushing (except MOVING_PISTON and command blocks). |

Omitting the boolean argument displays the current status (ON/OFF).

Utility

| Command | Permission | Description |
|————————-|————–|————————————-|
| /pistonproplus help | None | Show the help menu. |
| /pistonproplus reload | OP (level 2) | Hot-reload configuration from disk. |

Configuration

Settings are stored in config/pistonproplus.json and can be edited directly or via commands.

{
  "maxPushLimit": 12,
  "allowInfinitePush": false,
  "allowPushCommandBlock": false,
  "allowPushAllBlocks": false
}

| Key | Type | Default | Description |
|————————-|———|———|—————————————————————-|
| maxPushLimit | int | 12 | Maximum blocks a piston can push (1-4096) |
| allowInfinitePush | boolean | false | When true, push limit becomes 4096 |
| allowPushCommandBlock | boolean | false | Allow pistons to push command blocks (NBT preserved) |
| allowPushAllBlocks | boolean | false | Allow pistons to push nearly all blocks (except MOVING_PISTON) |

Warnings

  • MOVING_PISTON (block 36) can never be pushed. This is a hard safety constraint.
  • Command blocks may lose NBT data in edge cases; the mod preserves NBT through capture/restore, but complex setups should be tested.
  • Pushing all blocks may cause unexpected behavior. Attached blocks (redstone dust, torches, etc.) on slime blocks can behave unexpectedly during large pushes.
  • Very high push limits may cause server lag. Test incrementally before deploying on production servers.

License

This project is licensed under the GNU General Public License v3.0.

Links


This mod is not affiliated with or endorsed by Mojang Studios. Minecraft is a trademark of Mojang Studios.

常见问题

Piston Pro Plus 支持哪些 Minecraft 版本?

Piston Pro Plus 支持 Minecraft Java 版 1.20.1–1.21.4,共 11 个版本,可用的加载器:Fabric。下载时注意选择和你游戏版本一致的文件。

Piston Pro Plus 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Fabric,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:客户端和服务端都要装。

评论

登录后评论和评分

juzizhen 的其他作品

查看全部 →