任意放置
Place Anywhere Core 的插件,新增带有航空风格旋转控制的自由放置模式,允许你使用直观的鼠标和键盘界面,以任意角度和小数坐标放置并旋转方块。
功能
自由放置模式
- 按 G 切换自由放置模式。激活后,左键和右键均可放置方块——不再误挖方块。
- 方块将放置在面向的表面所捕捉到的小数坐标上,充分利用 Place Anywhere Core 的自由方块系统的全部功能。
航空风格三轴旋转
- 按 V 按照 Tait-Bryan ZYX 约定(标准航空航天顺序)循环三种旋转轴:
| 轴 | 效果 |
|---|---|
| 偏航 (Y轴) | 左右旋转 —— 类似指南针方位角 |
| 俯仰 (X轴) | 前后倾斜 —— 类似飞机机头向上/向下 |
| 滚转 (Z轴) | 侧向翻滚 —— 类似飞机横滚 |
- 鼠标滚轮调整所选轴:每次刻度15度,按住 Shift 时为每次刻度5度以便精细调整。
- 所有角度均为连续值——不受原版90度整数的限制。你可以将方块放置在37度、12.5度或任何你想要的角度。
放置预览
- 在放置之前,一个线框幽灵方块会准确显示方块将出现的位置和方式。
- 当放置有效时显示绿色线框,当会与现有方块重叠时显示红色线框。
- 第二个线框渲染方块的实际碰撞形状(适用于台阶、楼梯、栅栏等)。
重叠检测
- 使用分离轴定理进行完整的 OBB 与 OBB 以及 OBB 与 AABB 碰撞测试。
- 如果新方块会与任何现有的自由方块或原版方块相交,则阻止放置。
- 当因重叠导致放置被拒绝时,聊天栏会发出警告消息。
Y轴偏移
- 按 Page Up / Page Down 每次按下可将预览方块上下移动0.5个方块单位,以实现精确的垂直调整。
即时重置
- 按 R 可瞬间将所有旋转角度和Y偏移量重置为零。
F3+B 调试碰撞箱
- 当原版调试碰撞箱显示处于活动状态时,32格范围内的所有自由方块都会渲染其碰撞轮廓——包括具有非单位四元组的方块的旋转 OBB 线框。
通用自由方块交互(模式关闭时)
当自由放置模式关闭时,模组仍提供以下功能:
- 对自由方块左键点击以挖掘它。
- 对自由方块右键点击以进行交互(打开容器、使用按钮/门)或在命中面上放置新方块。
智能控制
- 在自由放置模式下捕获滚轮——不会意外更改快捷栏槽位。
- 右键点击有200毫秒冷却时间,以防止快速连续放置。
- 地面钳制——预览方块不能穿透你的脚下。
- 6格抓取距离(与原版一致)。
- 支持多方块结构(门和床)。
按键绑定
| 按键 | 操作 |
|---|---|
| G | 开启/关闭自由放置模式 |
| V | 循环旋转轴:偏航 → 俯仰 → 滚转 |
| 滚轮 | 调整旋转角度(按住 Shift 时为 15 / 5 度) |
| Page Up | 将预览向上移动 0.5 个方块 |
| Page Down | 将预览向下移动 0.5 个方块 |
| R | 重置旋转和 Y 偏移 |
| 左键点击 | 放置方块(在自由放置模式下)/ 挖掘自由方块(模式关闭时) |
| 右键点击 | 放置方块(在自由放置模式下)/ 与自由方块交互(模式关闭时) |
依赖
- Place Anywhere Core
- Fabric API
- Java 21+
当前版本
仅 1.21.1 Fabric 构建版处于积极维护中。 Fabric 和 Forge 的旧版本(1.18.2 至 1.20.6)可作为历史版本获取,但不会再收到进一步更新。
许可证
LGPL-3
Place Anywhere
An addon for Place Anywhere Core that adds a free placement mode with aviation-style rotation controls, allowing you to place and rotate blocks at arbitrary angles and decimal positions using an intuitive mouse-and-keyboard interface.
Features
Free Placement Mode
- Press G to toggle free placement mode. When active, both left-click and right-click place blocks — no more accidental mining.
- Blocks are placed at decimal coordinates snapped to the surface you're looking at, using the full power of Place Anywhere Core's free block system.
Aviation-Style 3-Axis Rotation
- Press V to cycle through three rotation axes following the Tait-Bryan ZYX convention (standard aerospace order):
| Axis | Effect |
|---|---|
| Yaw (Y-axis) | Rotate left/right — like a compass heading |
| Pitch (X-axis) | Tilt forward/backward — like an aircraft nose up/down |
| Roll (Z-axis) | Bank sideways — like an aircraft rolling |
- Mouse scroll wheel adjusts the selected axis: 15 degrees per tick, or 5 degrees per tick while holding Shift for fine adjustment.
- All angles are continuous — not limited to vanilla's 90-degree snaps. Place blocks at 37 degrees, 12.5 degrees, or any angle you want.
Placement Preview
- A wireframe ghost block shows exactly where and how the block will appear before you place it.
- Green wireframe when placement is valid, red wireframe when it would overlap an existing block.
- A second wireframe renders the block's actual collision shape (useful for slabs, stairs, fences, etc.).
Overlap Detection
- Full OBB vs OBB and OBB vs AABB collision testing using the Separating Axis Theorem.
- Placement is blocked if the new block would intersect any existing free block or vanilla block.
- A chat message warns you when placement is rejected due to overlap.
Y-Axis Offset
- Press Page Up / Page Down to move the preview block up or down by 0.5 blocks per press, for precise vertical adjustment.
Instant Reset
- Press R to reset all rotation angles and Y-offset back to zero instantly.
F3+B Debug Hitboxes
- When the vanilla debug hitbox display is active, all free blocks within 32 blocks render their collision outlines — including rotated OBB wireframes for blocks with non-identity quaternions.
General Free Block Interaction (Mode Off)
When free placement mode is off, the mod still provides:
- Left-click on a free block to mine it.
- Right-click on a free block to interact (open containers, use buttons/doors) or place a new block on the hit face.
Smart Controls
- Scroll wheel is captured while in free placement mode — no accidental hotbar slot changes.
- 200ms cooldown on right-click to prevent rapid-fire placement.
- Floor clamping — the preview can't clip below your feet.
- 6-block reach distance (matching vanilla).
- Works with multi-block structures (doors and beds).
Controls
| Key | Action |
|---|---|
| G | Toggle free placement mode on/off |
| V | Cycle rotation axis: Yaw → Pitch → Roll |
| Scroll Wheel | Adjust rotation angle (15 / 5 with Shift) |
| Page Up | Move preview up by 0.5 blocks |
| Page Down | Move preview down by 0.5 blocks |
| R | Reset rotation and Y-offset |
| Left Click | Place block (in free placement mode) / Mine free block (mode off) |
| Right Click | Place block (in free placement mode) / Interact with free block (mode off) |
Requires
- Place Anywhere Core
- Fabric API
- Java 21+
Active Version
Only the 1.21.1 Fabric build is actively maintained. Legacy versions (1.18.2 through 1.20.6) for both Fabric and Forge are available as historical releases but will not receive further updates.
License
LGPL-3
下载 Place Anywhere
下载 Place Anywhere
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Place Anywhere
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Place Anywhere
下载 Place Anywhere
下载 Place Anywhere
下载 Place Anywhere
下载 Place Anywhere
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Place Anywhere
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Place Anywhere
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
暂无更新日志
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧