Random Block Placement
从你的物品栏中随机放置方块,或按照你自定义的概率进行放置。
无论是建造有机结构、为墙壁增加变化,还是创建随机图案,该模组都让你能够精确控制每个选定方块的放置频率。
Random Block Placement 是一个客户端模组,这意味着它可以在任何服务器上运行,无需在服务器端安装或拥有特殊权限。它支持在 生存模式 和 创造模式 下使用。
Demo
Features
- ? 随机方块放置
- ⚖️ 为每个方块设置自定义权重/概率
- ? 直接使用物品栏中的方块
- ? 简单的游戏内配置菜单
- ⚡ 即时切换模组的开启与关闭
- ? 仅客户端侧 — 无需服务器安装
- ⛏️ 支持生存模式和创造模式
How to Use
1. 打开选择菜单
按 B 键打开方块选择菜单。左侧是 Selection(选择列表),中间是你的物品栏,右侧是 Presets(预设)。在小屏幕上,Selection 和 Presets 会变成位于物品栏旁边的两个选项卡。
2. 选择方块
点击物品栏中的一个方块将其添加到选择列表中。再次点击则将其移除。选定的方块会以绿色边框高亮显示。
3. 设置自定义概率(可选)
方块初始具有相等的出现几率。若要更改某个方块的几率,请在物品栏中按住 Shift+点击,或点击 Selection 面板中的对应行。输入百分比数值并按 Enter 确认。
其他方块将共享剩余的百分比,并保持它们之间的比例不变。例如,当 Stone、Andesite 和 Gravel 各占 33% 时,若将 Stone 设置为 50%,则 Andesite 和 Gravel 各获得 25%。若设置为 0,则该方块将被移除。
Selection 面板会显示每个方块的放置几率。
点击面板底部的 Clear selection 可清空所有已选方块。这不会影响你的预设。
4. 启用随机放置
点击菜单顶部的 Placement: ON/OFF 按钮,或随时按下 J 键。
关闭菜单后,像往常一样放置方块即可!
Presets
Presets 面板允许你保存并复用选择列表:
- Create:输入名称并点击 Create,将当前选择保存为新预设。
- Load:点击一个预设选中它,然后点击 Load(或直接双击)以用其替换当前选择。
- Overwrite with selection:用当前选择覆盖所选预设中的方块。
- Delete:删除所选预设。
Overwrite 和 Delete 操作需要点击第二次以确认。鼠标悬停在预设上可预览其中的方块。
面板顶部会显示当前加载的预设名称,并在选择列表发生更改后标记为 (modified)。
Settings
通过菜单顶部的 ⚙ 按钮打开设置界面。
| Setting | Options |
|---|---|
| Save changes | On close(默认):关闭菜单时自动保存选择列表(通过 Done、Esc 或 B 键)。Manually:菜单显示 Cancel 和 Apply 按钮,若不应用直接关闭则会丢弃更改。 |
| Missing blocks | Continue(默认):当某个选定的方块耗尽时,继续放置你仍拥有的其他方块,并提示一次警告。仅当所有方块均耗尽时才停止。Continue (quiet):同上,但不发出警告。Turn off:只要缺少任一选定方块,放置即停止。 |
| HUD position | “Random placement”指示器的显示位置:屏幕顶部居中、左上角、右上角、热键栏上方,或隐藏。同时也会显示当前加载的预设名称。 |
Keybinds
| Key | Action |
|---|---|
| B | 打开/关闭配置菜单 |
| J | 启用/禁用随机放置 |
Feedback
欢迎提供建议和功能请求!
如果你有改进该模组的想法,请随时提交 issue 或留下评论。我会在可能的情况下很高兴地实现新功能。
Random Block Placement
Place blocks from your inventory at random or with your own custom probabilities.
Whether you're building organic structures, adding variation to walls, or creating randomized patterns, this mod lets you control exactly how often each selected block is placed.
Random Block Placement is a client-side mod, meaning it works on any server without requiring installation on the server or any special permissions. It can be used in both Survival and Creative mode.
Demo
Features
- ? Random block placement
- ⚖️ Custom weight/probability for every block
- ? Works directly with blocks in your inventory
- ? Simple in-game configuration menu
- ⚡ Toggle the mod on or off instantly
- ? Client-side only — no server installation required
- ⛏️ Works in both Survival and Creative mode
How to Use
1. Open the selection menu
Press B to open the block selection menu. Your Selection is on the left, your inventory in the middle, and your Presets on the right. On small screens, Selection and Presets become two tabs next to the inventory.
2. Select your blocks
Click a block in your inventory to add it to the selection. Click it again to remove it. Selected blocks are outlined in green.
3. Set custom probabilities (optional)
Blocks start with an equal chance. To change a block's chance, Shift+click it in your inventory, or click its row in the Selection panel. Type a percentage and press Enter.
The other blocks share the remaining percentage and keep their proportions. For example, with Stone, Andesite and Gravel at 33% each, setting Stone to 50% gives 25% to Andesite and 25% to Gravel. A value of 0 removes the block.
The Selection panel shows each block's chance of being placed.
Clear selection at the bottom of the panel removes every block from the selection. Your presets are not affected.
4. Enable Random Placement
Click the Placement: ON/OFF button at the top of the menu, or press J at any time.
Close the menu and place blocks as usual!
Presets
The Presets panel lets you save and reuse selections:
- Create: type a name and click Create to save the current selection as a new preset.
- Load: click a preset to select it, then click Load (or double-click it) to replace the current selection with it.
- Overwrite with selection: replaces the blocks of the selected preset with the current selection.
- Delete: deletes the selected preset.
Overwrite and Delete ask you to click a second time to confirm. Hover a preset to preview its blocks.
The top of the panel shows which preset is loaded, and marks it as (modified) when the selection has changed since.
Settings
Open the settings with the ⚙ button at the top of the menu.
| Setting | Options |
|---|---|
| Save changes | On close (default): your selection is saved automatically when you close the menu (with Done, Esc or B). Manually: the menu shows Cancel and Apply buttons, and closing it without applying discards your changes. |
| Missing blocks | Continue (default): when a selected block runs out, placement goes on with the blocks you still have, and you are warned once. It turns off only when none are left. Continue (quiet): same, without the warning. Turn off: placement stops as soon as one block is missing. |
| HUD position | Where the "Random placement" indicator is shown: top center, top left, top right, above the hotbar, or hidden. It also shows the loaded preset's name. |
Keybinds
| Key | Action |
|---|---|
| B | Open / close the configuration menu |
| J | Enable / Disable random placement |
Feedback
Suggestions and feature requests are always welcome!
If you have an idea to improve the mod, feel free to open an issue or leave a comment. I'll be happy to implement new features whenever possible.
下载 OC Random Block Placement
下载 OC Random Block Placement
下载 OC Random Block Placement
下载 OC Random Block Placement
下载 OC Random Block Placement
下载 OC Random Block Placement
下载 OC Random Block Placement
0.4.0
新增
- 快速预设轮盘:按住
R键打开一个包含 9 个预设槽位的径向轮盘。将指针指向某个扇区并松开以加载该预设并开启放置功能。右键点击某个扇区可为其分配预设。分配结果会保存在配置文件中。 - 预设分享:通过
/msg命令向指定的在线玩家发送预设或当前选中内容,或在公共聊天中发布。拥有该模组的玩家在聊天栏中会看到一个[导入]按钮。 - 剪贴板分享:复制预设代码,然后通过“预设”选项卡中的“从剪贴板导入”功能进行导入。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
可定制的鞘翅模组,支持装饰纹饰、旗帜图案等更多功能!
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
评论 0
登录后参与评分
还没有评论,来抢沙发吧