
如果你想以零 effort 使用 Block Blocker 搭建服务器,请获取 由 BisectHosting 提供的服务器,并使用优惠码 kreezxil 作为新客户享受首月 25% 的折扣。

在模组开发的历史中,有几个案例明显表明需要一种机制来防止玩家破坏或放置方块到 Minecraft 世界中。本模组提供了一种配置,允许服务器管理员指定他们不希望被破坏或放置的方块。
例如:
在 Ice and Fire 模组的某些版本中,存在一个世界生成的仙子屋(pixie house),当它被破坏时,客户端和服务器都会崩溃。为了防止这种情况,你需要将仙子屋的 ID 添加到配置文件中并重启服务器。现在没有人可以破坏该方块从而导致服务器崩溃。
可能还有其他情况需要这种行为。
另一个例子:
你有一个困难模式的整合包,并且希望让它更难,因此你将其他方块添加到列表中以防止它们被破坏,就像基岩一样。石头、沙砾、沙子等都可以作为示例。
同样地,为什么不停止在这里呢?也许你的世界中有一些方块具有制作用途,但你不想看到它们在世界上被放置。例如,你不希望人们建造泥土塔或熔岩源。你可以将这些 ID 添加到配置文件的 prevent-placement 部分并重启服务器。

本模组不需要安装在客户端上,但也可以在客户端存在和运行,这对于 LAN 和 Hamachi 游戏也非常有用。
以下示例配置是首次运行模组时生成的配置文件,这样你就可以预先填充想要阻止放置和采集的方块列表。
blockblocker.cfg
注意事项
不会阻止流体放置。已经有一个出色的模组可以做到这一点,请访问
现已移植至 1.7.10
所有版本均不支持标题实体或 NBT 数据。这可能是一个计划中的功能,但无法确定具体时间。如果在 捐赠超过 $20 的金额,可以加速这一过程。请务必通过私信告诉我你的捐赠邮箱以及捐赠目的。
整合包
无需询问,直接添加即可。虽然不要求链接回此页面,但如果能加上链接那就太好了。
评测者
请随意进行评测。如果让我知道,我会将其展示出来。我只要求你在评测描述中链接回此页面。

If you want a server setup using Block Blocker with zero effort, get a server with BisectHosting and receive 25% off your first month as a new customer using the code kreezxil

There are a few cases in the course of modding history where it is evident that a mechanism is required to prevent the breaking or placing of blocks into the Minecraft world. This mod provides a configuration that allows a server administrator to specify the blocks that they do not want to be breakable nor to be placed.
For example:
In some versions of Ice and Fire there exists a pixie house that is world gen'd in and when it is broken the client and server both crash. To prevent this you would add the ID for the pixie house to the configuration and restart your server. Now no one can break the block and crash the server.
There may be other cases where you would want this behavior.
Another example:
You have a hard mode pack and you want to make it harder, therefore you add other blocks to the list to prevent them from being broken much like bedrock. Stone, Gravel, Sand could be some.
Similarly why stop there, maybe there are certain blocks in your world that have crafting uses but you don't want to see them placed in your world. For instance you don't want people building dirt towers or lava sources. You would add those ID's to the prevent-placement section of the configuration and restart your server.

The mod is not required on the client but can exist and run there as well, which is great for LAN and Hamachi play too.
The following example config is the config that generates when you first run the mod, this way you can prepopulate the config the with blocks you want to block for placing and harvesting.
blockblocker.cfg
Notes
Does not block fluid placement. There is an excellent mod that does that already found at
Now ported to 1.7.10
None of the versions support title entities or nbt data. Possibly planned, but can't say when, a fat donation of higher than $20 at can speed up this process. Make sure you send me a message via private what your donation email was and what it was for.
Modpacks
No need to ask, just add. A link back not required but sure would be sweet.
Reviewers
Go ahead. Let me know and I'll feature it. I only ask that you link back to this page in your review description.
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
下载 Block Blocker
如果你希望零 effort 地搭建一个适用于 Block Blocker 模组的服务器,请获取 由 BisectHosting 提供的服务器,并在使用代码 kreezxil 作为新客户时享受首月 25% 的折扣。
更新日志
• 移植至 NeoForge 26.3.0.102 上的 Minecraft 26.3(仅限 NeoForge;Fabric 构建版不属于本次发布内容)。
• 配置文件现在默认未配置:所有方块列表均为空,所有选项均关闭。现有配置文件将保留其原有值。
• 添加了 block_blocker.example.cf,这是一个完全填充的示例配置文件,可阻止所有红石组件、轨道和存储方块。如果该文件不存在,它将被写入 config 文件夹,但永远不会被加载。请勿将其重命名以启用使用。
• 添加了 /block_blocker 操作员命令(权限等级 2 或控制台),用于查看和更改所有配置设置,支持对方块列表进行添加、删除和清空操作(#6)。更改会保存至配置文件并立即生效。
• 添加了世界生成禁用列表,可从新生成的区块中移除列出的方块(#3)。已存在的区块不会被修改。禁止常见方块(如石头或泥土)会导致严重卡顿。
• 恢复了 1.7.10 版本中的左键点击阻止交互方块功能。
• 恢复了 debugMode 选项(默认关闭)。
• 修复了因 no-place 列表中误包含空气条目而导致拾取方块的模组被错误取消的问题,此问题曾导致 Construction Sticks 失效(#13)以及引发 Endersoul Hand 刷物品漏洞(#12)。
• 修复了配置文件重载时方块列表未刷新问题(#4)。
• 格式错误的配置项现在会被跳过并记录警告日志,而不会导致世界加载崩溃。
• 修复了在无实体情况下放置方块时可能发生的崩溃问题。
• 未在维度列表中指定的方块现在将在所有维度中生效,无论其在列表中的位置如何。
• 多方块放置行为(如床)现在改为逐个方块进行检查。
• 列表条目中的多余空格现在会被自动修剪。
• 旧版配置文件会在原位升级至新的键名结构,保留你的原有值,且不生成 .bak 备份文件。替换配置文件前请先停止服务器。
• 每个配置选项现在都配有可读名称和工具提示。
• 添加了模组图标,显示在模组列表及模组详情面板中。
• 添加了 README 文档,涵盖使用方法、命令说明及限制条件(投掷器、桶倾倒操作和 /setblock 命令不受阻止),并附带 MIT 许可证。
如果你想要零配置地搭建一个运行 Block Blocker 模组的服务器,请通过 BisectHosting 购买服务器,并使用优惠码 kreezxil 作为新用户享受首月 25% 的折扣。
更新日志
• 实现了对字符串类型 modid 的处理,不再仅限于数字。关闭了 #7,如果你看到了这条信息,Peez,抱歉让你等了四年。同时也感谢 syndicate_25 重新引起了我的注意!
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
查看物品与配方
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
AE2:一款流行的自动化与存储模组
模组
添加区块认领和玩家组队功能,并与 Xaero's Minimap 和 World Map 集成



评论 0
登录后参与评分
还没有评论,来抢沙发吧