RoadMarker
RoadMarker 是一款功能强大的 Minecraft Fabric 建筑辅助模组,利用楼梯、台阶和珊瑚扇来创建 3D 挤出高速公路、平滑亚像素曲线、道路标线、悬崖平滑处理以及对角路缘倒角。告别锯齿状的阶梯线条、繁琐的手动放置道路坡度以及尴尬的地形过渡。RoadMarker 结合了 3D 轮廓挤出、自适应坡度平滑 以及带有全局动态规划优化的 2x2 亚像素光栅化引擎,以无缝地放置和定向方块。
特性
- 基于法杖的游戏内工作流:在修改世界之前,使用实时粒子预览进行快速规划。
- 原生 Axiom 编辑器集成:通过官方配套插件,直接在 Axiom 编辑器中使用所有 RoadMarker 功能。
- 多种生成模式:
extrude(挤出):沿曲线进行完整的 3D 道路横截面挤出,自动进行坡度平滑(使用台阶)并铺设主导道路材料地基。
wall_smooth(墙壁平滑):将任意厚度的悬崖和墙壁程序化平滑为面向玩家的 ~45° 对角楼梯序列。
draw(绘制):在地形上绘制亚像素道路标线和线条。
border(边界):自动生成道路路缘和倒角,将道路边缘向周围地形进行倒角处理。
smooth(平滑):就地平滑处理,只需单击即可将现有的完整方块线条转换为平滑的楼梯曲线。
- 曲线算法:
line(直线):两点之间超清晰的亚像素直线。
bezier(贝塞尔):平滑的多点贝塞尔曲线(支持无限控制点)。
catmull(卡特姆-罗姆):直接穿过每个控制点的 Catmull-Rom 样条曲线。
- 标线双材质支持:
- 楼梯:完美的 1/4 和 2/4 亚像素楼梯方向(直段运行、自适应角落楼梯)。
- 珊瑚扇:用于角落的地面珊瑚扇和用于直段运行的墙壁珊瑚扇(无水状态下放置)。
- 多级撤销 / 重做:通过
/rm undo 和 /rm redo(或在 Axiom 中直接使用 Ctrl+Z / Ctrl+Y)恢复或重新应用更改。
- 多人游戏与管理员安全:非破坏性的粒子预览,尊重服务器权限。
Axiom 集成
RoadMarker 包含一个专用的配套插件 —— RoadMarker Axiom Integration —— 允许你直接在 Axiom 编辑器中进行建造:
- Axiom 工具栏中的专用工具:在 Axiom 的工具窗口中添加一个原生的 RoadMarker 工具,并带有自定义的 RM 图标。
- 支持所有模式:可在 Axiom 内部直接在
extrude、draw 和 wall_smooth 之间切换,并拥有实时视觉预览。
- 原生历史记录支持:每项操作都直接集成到 Axiom 的撤销/重做历史缓冲区中,提供本地化的描述和准确的修改方块计数。
- 精确的点放置:控制点直接吸附到目标方块内部,而不是悬浮在空中,确保表面对齐准确且无高度偏移。
(作为本页面的配套文件提供:
RoadMarker-Axiom-Integration.jar)
快速开始
法杖工作流
- 使用
/rm wand 获取法杖。
- 使用
/rm mode <draw|extrude|wall_smooth|border|smooth> 选择所需模式。
- 选择你的材质(或在
extrude 模式下选择两个点以捕获 3D 道路横截面)。
- 如果使用
draw 或 extrude,选择曲线类型:/rm line、/rm bezier 或 /rm catmull。
- 左键点击 世界中的方块以放置控制点(或定义两点框)。
- 检查发光的粒子预览。
- 手持法杖 右键点击空气 以立即建造。
Axiom 工作流
- 从 Axiom 工具窗口中选择 RoadMarker 工具。
- 在工具设置中选择你的模式(
extrude、draw 或 wall_smooth)。
- 在视口中点击方块以定义轨迹点或选择区域。
- 确认生成,如果需要则使用 Axiom 的标准撤销功能(
Ctrl+Z)。
命令
| 命令 |
描述 |
/rm wand |
给予你 RoadMarker 法杖工具。 |
/rm mode <mode> |
切换生成模式(draw、extrude、wall_smooth、border、smooth)。 |
/rm line / /rm bezier / /rm catmull |
设置 draw 和 extrude 模式的曲线算法。 |
/rm pattern <pos1|pos2|capture|smooth|clear> |
管理 3D 道路横截面捕获和坡度平滑。 |
/rm pattern smooth <on|off> |
切换挤出过程中的自动半台阶坡度平滑。 |
/rm block <block_id> |
手动设置活动的楼梯/珊瑚材质,支持自动补全。 |
/rm preview |
切换粒子预览的开启/关闭状态。 |
/rm undo |
撤销上次放置的曲线或道路操作。 |
/rm redo |
重新应用上次撤销的操作。 |
/rm info |
显示当前会话状态、模式、点和设置。 |
/rm samples <n> |
调整曲线采样密度(默认值:3000)。 |
/rm maxBlocks <n> |
每次操作的最大方块数安全限制(默认值:50000)。 |
模式
Extrude(挤出)
捕获三维道路横截面(车道、路缘石、标线、护栏),并沿平滑曲线进行扫描生成。利用半砖和下方实心基座自动适应坡度变化。
Wall Smooth(墙面平滑)
将任意厚度(1、2、5、10+ 格)的阶梯状垂直悬崖和墙壁平滑为整洁的约 45° 对角楼梯斜坡。使用视角向量方向,仅对面向玩家的一侧进行平滑,并为没有直接楼梯对应块的方块提供自动颜色匹配功能。
Border(边缘处理)
选择两点定义的矩形区域。模组会扫描道路,检测所有与选区相邻的道路边缘方块,并将它们替换为向下倾斜至选区的匹配倒角楼梯,同时确保选区内内容 100% 不受影响。
Smooth(平滑)
使用常规方块(如白色混凝土/石英块)绘制任意手绘线条,用两点选中该区域,RoadMarker 将追踪并将其转换为平滑的楼梯曲线。
Curves (Draw)(曲线 - 绘制)
放置两个或更多控制点,使用楼梯或珊瑚扇绘制数学上平滑的子像素级标线曲线(bezier、catmull、line),适用于高速公路匝道、机场滑行道、赛道或装饰性景观。
要求
- Fabric Loader(Minecraft 26.2+)
- Fabric API
- Java 21+
- (可选) Axiom(如果使用
RoadMarker-Axiom-Integration 配套插件)
RoadMarker
RoadMarker is a powerful builder's utility for Minecraft Fabric that creates 3D extruded highways, smooth subpixel curves, road markings, cliff smoothing, and diagonal curb bevels using stairs, slabs, and coral fans.
Gone are the days of jagged stepped lines, tedious hand-placed road slopes, and awkward terrain transitions. RoadMarker combines 3D profile extrusion, adaptive slope smoothing, and a 2x2 subpixel rasterization engine with global dynamic programming optimization to place and orient blocks seamlessly.
Features
- Wand-Based In-Game Workflow: Quick planning with real-time particle previews before modifying the world.
- Native Axiom Editor Integration: Use all RoadMarker features directly inside the Axiom editor via the official companion addon.
- Multiple Generation Modes:
extrude: Full 3D road cross-section extrusion along curves with automatic slope smoothing (slabs) and dominant road material foundations.
wall_smooth: Procedural smoothing of cliffs and walls of arbitrary thickness into ~45° diagonal stair runs facing the player.
draw: Subpixel road markings and lines across terrain.
border: Automatic road curb and bevel generator that bevels the road edge towards the surrounding terrain.
smooth: In-place smoothing that converts existing full-block lines into smooth stair curves in a single click.
- Curve Algorithms:
line: Ultra-crisp subpixel straight lines between 2 points.
bezier: Smooth N-point Bezier curves (unlimited control points).
catmull: Catmull-Rom splines passing directly through every control point.
- Dual Material Support for Markings:
- Stairs: Perfect 1/4 and 2/4 subpixel stair orientations (straight runs, adaptive corner stairs).
- Coral Fans: Floor coral fans for corners and wall coral fans for straight runs (placed dry without water).
- Multi-level Undo / Redo: Revert or re-apply changes with
/rm undo and /rm redo (or native Ctrl+Z / Ctrl+Y in Axiom).
- Multiplayer and Operator Safe: Non-destructive particle preview, respects server permissions.
Axiom Integration
RoadMarker includes a dedicated companion addon — RoadMarker Axiom Integration — allowing you to build directly within the Axiom editor:
- Dedicated Tool in Axiom Toolbar: Adds a native RoadMarker tool with a custom RM icon to Axiom's tools window.
- All Modes Supported: Switch between
extrude, draw, and wall_smooth directly inside Axiom with real-time visual previews.
- Native History Support: Every operation integrates directly into Axiom's undo/redo history buffer with localized descriptions and accurate modified block counts.
- Precise Point Placement: Control points snap directly inside target blocks rather than floating in the air, ensuring accurate surface alignment without height offsets.
(Available as a companion file on this page:
RoadMarker-Axiom-Integration.jar)
Quick Start
Wand Workflow
- Get the wand with
/rm wand.
- Select your desired mode with
/rm mode <draw|extrude|wall_smooth|border|smooth>.
- Pick your material (or select 2 points to capture a 3D road cross-section in
extrude mode).
- If using
draw or extrude, select curve type: /rm line, /rm bezier, or /rm catmull.
- Left-Click blocks in the world to place control points (or define a 2-point box).
- Review the glowing particle preview.
- Right-Click in the air with the wand to instantly build.
Axiom Workflow
- Select the RoadMarker tool from the Axiom tools window.
- Choose your mode (
extrude, draw, or wall_smooth) in the tool settings.
- Click blocks in the viewport to define trajectory points or selections.
- Confirm to generate, and use Axiom's standard undo (
Ctrl+Z) if needed.
Commands
| Command |
Description |
/rm wand |
Gives you the RoadMarker Wand tool. |
/rm mode <mode> |
Switches generation mode (draw, extrude, wall_smooth, border, smooth). |
/rm line / /rm bezier / /rm catmull |
Sets curve algorithm for draw and extrude modes. |
/rm pattern <pos1|pos2|capture|smooth|clear> |
Manages 3D road cross-section capture and slope smoothing. |
/rm pattern smooth <on|off> |
Toggles automatic half-slab slope smoothing during extrusion. |
/rm block <block_id> |
Manually sets active stair/coral material with auto-complete. |
/rm preview |
Toggles the particle preview on/off. |
/rm undo |
Reverts the last placed curve or road operation. |
/rm redo |
Re-applies the last undone operation. |
/rm info |
Displays current session status, mode, points, and settings. |
/rm samples <n> |
Adjusts curve sampling density (default: 3000). |
/rm maxBlocks <n> |
Safety limit on maximum blocks per operation (default: 50000). |
Modes
Extrude
Captures a 3D road cross-section (lanes, curbs, markings, guardrails) and sweeps it along smooth curves. Automatically adapts to inclines and declines using half-slabs with solid substrate foundations underneath.
Wall Smooth
Smooths stepped vertical cliffs and walls of arbitrary thickness (1, 2, 5, 10+ blocks) into clean ~45° diagonal stair slopes. Uses view-vector orientation to smooth only the side facing the player and includes automatic color-matching for blocks without direct stair equivalents.
Border
Select a 2-point rectangular area. The mod scans the road, detects all road edge blocks bordering the field, and replaces them with matching beveled stairs sloping down into the field while leaving the field 100% untouched.
Smooth
Build any freehand line with regular blocks (e.g. white concrete / quartz), select the area with 2 points, and RoadMarker will trace and convert it into a smooth stair curve.
Curves (Draw)
Place 2 or more control points to draw mathematically smooth subpixel marking curves (bezier, catmull, line) using stairs or coral fans for highway off-ramps, airport taxiways, race tracks, or decorative landscaping.
Requirements
- Fabric Loader (Minecraft 26.2+)
- Fabric API
- Java 21+
- (Optional) Axiom (if using the
RoadMarker-Axiom-Integration companion addon)
评论 0
登录后参与评分
还没有评论,来抢沙发吧