Piggy Build
一款简单而强大的模组,旨在提升你在 Minecraft 中的建造体验。Piggy Build 提供了方向放置、形状辅助线和快速放置等实用功能,让创意建造更加顺畅。

⚠️ 免责声明
这是一个个人项目。 它按原样提供,可能会损坏你的物品。
- 无技术支持: 请勿期望获得常规支持或漏洞修复。
- 无 Forge 移植版: 没有计划将此模组移植到 Forge。
- 请自行承担使用风险。
如果你想贡献修复或新功能,欢迎 Fork 该项目或提交 Pull Request!
功能
?️ 放置辅助工具
- 方向放置:根据方块面锁定你的放置方向。适用于以特定朝向放置原木、柱子或活塞。
- 对角线放置:轻松对角线放置方块,加快建造速度。
- 快速放置:按住即可快速连续放置方块。
- 快速破坏:创造模式下的实用功能,可更快地破坏方块。
- 方向锁定:将光标锁定在特定的方块面上,以便在表面上进行快速且对齐的放置。
? 导航与生存
- 自动 MLG 引擎:一个高性能的生存系统,使用 FallSimulator(坠落模拟器) 来预测致命坠落并自动执行恢复动作。
- 15+ 种方法:水桶、史莱姆块、船、蛛网、缠根藤蔓、粉末雪、干草块、床、末影珍珠等。
- 动态排名:
MlgMethodSelector根据生命值、坠落距离和库存可用性对生存方法进行排名。 - 精准执行:使用
PiggyActionQueue以HIGHEST(最高)优先级运行,实现帧级精准操作且防作弊友好。 - 无缝处理程序:一旦安全,自动管理“清理”工作(如移除水、跳下史莱姆块)。
- 自动跑酷:
AutoParkourHandler监控你的移动并自动为可跨越的间隙执行跳跃。它与PerfMonitor集成,根据当前服务器延迟调整跳跃时机。
? 形状与视觉辅助
- 光照等级叠加层:按
L键切换完全动态的叠加层,高亮显示怪物可以生成的区域!- 岛屿效果轮廓:借鉴最佳视觉模组的灵感,叠加层完美追踪危险区域的边界。
- 一级(橙色):警告你暴露于天空的区域。怪物仅在夜间在此处生成。
- 二级(红色):高亮显示随时可能有怪物生成的深暗区域(洞穴、屋顶下)。
- 无缝纹理:轮廓智能映射到地板和墙壁,无缝组合,不会出现 Z-fighting(深度冲突)或重叠。
- 形状选择器:用于按特定形状放置方块的详细指南。
- 直线
- 球体
- 圆环
- 方块(立方体)
- 优化的放置逻辑:形状放置现在遵循复杂的队列系统,尊重 CPS(每秒点击次数)限制。
- 防作弊友好:防止瞬间放置错误,并确保放置频率符合可配置的服务器限制。
- 平滑建造:方块按可控速率依次放置,使建造过程感觉更自然,防止被服务器踢出。
?️ 安全与反作弊
Piggy Build 默认启用**“禁止作弊模式”**。
- 安全第一:此模式防止你在生存或冒险模式中使用“作弊”功能(如快速放置、方向放置等)。
- 公平游戏:防止在对快速交互频率进行检测的服务器上被封禁。
- 创造自由:所有功能在创造模式中均完全解锁。
- 服务器强制:当连接到带有 Piggy Admin 的服务器时,反作弊设置会自动同步并强制执行。
控制键
你可以在 Minecraft 标准控制菜单下的 "Piggy Build" 中重新绑定这些按键。
| 操作 | 默认按键 | 描述 |
|---|---|---|
| 形状选择器 | V |
形状的径向菜单。滚动以调整大小。 |
| 方向放置 | 鼠标侧键 5 |
锁定放置方向。 |
| 自动 MLG 切换 | O |
切换自动生存引擎。 |
| 自动跑酷 | P |
切换自动跳跃处理程序。 |
| 快速放置 | 鼠标侧键 6 |
按住时快速放置。 |
| 光照等级叠加层 | L |
切换怪物生成危险边界。 |
配置
通过 Mod Menu(模组菜单) 访问配置菜单。
- 高亮颜色:自定义形状辅助线的颜色。
- 放置叠加层颜色:更改方向箭头/叠加层的颜色。
- 光照等级叠加层颜色:配置深危险区域的主要(红色)颜色。
- 天空光照等级叠加层颜色:配置暴露于天空的警告区域的次要(橙色)颜色。
- 快速放置速度:调整方块放置之间的延迟(毫秒)。
- 快速放置开关:全局启用/禁用快速放置。
- 禁止作弊模式:切换反作弊安全设置(防止在生存/冒险模式下使用)。
?️ 面向服务器管理员
您可以在服务器上安装 Piggy Build,以对所有连接的客户端强制执行反作弊规则。
- 配置文件:
config/piggy-build-server.json - 强制执行: 设置
"allowCheats": false以强制所有玩家启用反作弊模式。- 这将覆盖客户端设置。即使玩家禁用了“无作弊模式”,他们在生存模式中也将无法使用建造工具。
- 客户端将收到一条消息:"Anti-Cheat Active: This server has forced anti-cheat ON."
依赖项与安装
要求
- Minecraft: ~1.21.1
- Fabric Loader: >=0.18.1
- Java: >=21
必需模组
- Fabric API: 任意版本
- YACL (Yet Another Config Lib): >=3.6.1+1.21-fabric
- Piggy Lib: >=1.0.1
- (可选) Mod Menu: >=11.0.3 - 强烈建议安装以便访问配置界面。
安装步骤
- 从 Releases 下载
.jar文件。 - 为 Minecraft 1.21.1 安装 Fabric Loader。
- 将
piggy-buildjar 文件(连同 Fabric API、YACL 和 Piggy Lib)放入.minecraft/mods文件夹中。 - 启动游戏!
灵感来源
本模组的灵感来自以下项目:
许可证: CC0-1.0
Piggy Build
A simple yet powerful mod designed to enhance your building experience in Minecraft. Piggy Build provides utilitarian features like directional placement, shape guides, and fast placement tools to make creative building smoother.

⚠️ Disclaimer
This is a personal project. It comes AS IS and might destroy your stuff.
- No Support: Do not expect regular support or bug fixes.
- No Forge Port: There are NO plans to port this mod to Forge.
- Use at your own risk.
Feel free to fork the project or submit a Pull Request if you want to contribute fixes or features!
Features
?️ Placement Helpers
- Directional Placement: Lock your placement direction relative to the block face. Handy for placing logs, pillars, or pistons in specific orientations.
- Diagonal Placement: Easily place blocks diagonally, enabling faster construction.
- Fast Placement: Hold down to place blocks rapidly.
- Fast Breaking: Creative-mode utility to break blocks faster.
- Directional Lock: Lock your cursor to a specific block face for rapid, aligned placements across a surface.
? Navigation & Survival
- Auto-MLG Engine: A high-performance survival system that uses a FallSimulator to predict lethal falls and automatically execute recovery actions.
- 15+ Methods: Water Bucket, Slime, Boats, Cobwebs, Twisting Vines, Powder Snow, Hay Bales, Bed, Ender Pearl, and more.
- Dynamic Ranking:
MlgMethodSelectorranks survival methods based on health, fall distance, and inventory availability. - Precision Execution: Uses the
PiggyActionQueueatHIGHESTpriority for frame-perfect, anti-cheat friendly interaction. - Seamless Handlers: Automatically manages "cleanup" (removing water, jumping off slime) once safe.
- Auto-Parkour: The
AutoParkourHandlermonitors your movement and automatically performs jumps for clearable gaps. It integrates withPerfMonitorto adjust jump timing based on current server latency.
? Shape & Visual Guides
- Light Level Overlay: Press
Lto toggle a completely dynamic overlay that highlights areas where monsters can spawn!- Island Effect Outline: Drawing inspiration from the best visual mods, the overlay perfectly traces the borders of danger.
- Tier 1 (Orange): Warns you about areas that are exposed to the sky. Mobs will only spawn here at night.
- Tier 2 (Red): Highlights deep dark areas (caves, under roofs) where mobs can spawn at any time.
- Seamless Textures: The outline intelligently maps to the floor and walls, seamlessly combining without any z-fighting or overlaps.
- Shape Selectors: Detailed guides for placing blocks in specific shapes.
- Lines
- Spheres
- Rings
- Blocks (Cubes)
- Refined Placement Logic: Shape placement now follows a sophisticated queue system that respects CPS (Clicks Per Second) limits.
- Anti-Cheat Friendly: Prevents instant-place bugs and ensures placement frequency matches configurable server limits.
- Smooth Construction: Blocks are placed sequentially at a controllable rate, making the building process feel more natural and preventing server kicks.
?️ Safety & Anti-Cheat
Piggy Build comes with a "No Cheating Mode" enabled by default.
- Safety First: This mode prevents you from using "cheat" features (Fast Place, Directional Placement, etc.) while in Survival or Adventure mode.
- Fair Play: Prevents accidental bans on servers that detect fast interaction frequencies.
- Creative Freedom: All features remain fully unlocked in Creative Mode.
- Server Enforcement: When connected to a server with Piggy Admin, anti-cheat settings are automatically synchronized and enforced.
Controls
You can rebind these keys in the standard Minecraft Controls menu under "Piggy Build".
| Action | Default Key | Description |
|---|---|---|
| Shape Selector | V |
Radial menu for shapes. Scroll to adjust size. |
| Directional Place | Mouse Button 5 |
Locks placement orientation. |
| Auto-MLG Toggle | O |
Toggles the automatic survival engine. |
| Auto-Parkour | P |
Toggles the automatic jump handler. |
| Fast Place | Mouse Button 6 |
Rapid placement while held. |
| Light Level Overlay | L |
Toggles the mob spawn danger boundary. |
Configuration
Access the configuration menu via Mod Menu.
- Highlight Color: Customize the color of the shape guides.
- Placement Overlay Color: Change the color of the directional arrows/overlays.
- Light Level Overlay Color: Configures the primary (Red) color for deep Danger areas.
- Sky Light Level Overlay Color: Configures the secondary (Orange) color for Warning areas exposed to the sky.
- Fast Place Speed: Adjust the delay (in ms) between block placements.
- Fast Place Toggle: Enable/Disable fast placement globally.
- No Cheating Mode: Toggle anti-cheat safety (prevents use in Survival/Adventure).
?️ For Server Owners
You can install Piggy Build on the server to enforce anti-cheat rules for all connected clients.
- Config File:
config/piggy-build-server.json - Enforcement: Set
"allowCheats": falseto force the anti-cheat mode on all players.- This overrides client settings. Even if a player disables "No Cheating Mode", they will be blocked from using build tools in Survival.
- Clients will receive a message: "Anti-Cheat Active: This server has forced anti-cheat ON."
Dependencies & Installation
Requirements
- Minecraft: ~1.21.1
- Fabric Loader: >=0.18.1
- Java: >=21
Required Mods
- Fabric API: Any version
- YACL (Yet Another Config Lib): >=3.6.1+1.21-fabric
- Piggy Lib: >=1.0.1
- (Optional) Mod Menu: >=11.0.3 - Highly recommended for accessing config.
Installation
- Download the
.jarfile from Releases. - Install Fabric Loader for Minecraft 1.21.1.
- Place the
piggy-buildjar (along with Fabric API, YACL, and Piggy Lib) into your.minecraft/modsfolder. - Launch the game!
Inspiration
This mod was inspired by:
- MiniHUD - For the concept of visual overlays and shape guides.
- Tweakeroo - For fast placement mechanics and building utilities.
License: CC0-1.0
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
下载 Piggy Build
升级至 piggy-lib 2.0.1
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧