
本模组添加了实体屏障方块。这些方块可以通过“实体屏障探测器”进行配置。使用探测器,你可以选择最多 4 个实体或实体组。随后将这些选择应用到实体屏障方块上,以阻止实体穿过它们。此外还有压力板,同样可以配置,但它们的作用不是阻挡通行,而是允许通行。任何在压力板上被允许的实体都可以触发它们。模组还提供了一个配置文件,用于开启或关闭任何实体。本模组对其它模组具有良好的兼容性。来自不同模组的实体应能与探测器和配置文件配合使用。
虽然其他模组会支持其实体在配置和探测器中显示,但这些模组不会自带图标支持。你可以通过制作资源包来添加模组专属的图标。
使用探测器
制作完成的实体屏障探测器可以进行右键点击。当你右键点击时,会弹出一个界面。该界面允许你在列表中滚动浏览实体,或在屏幕顶部选择实体组。你可以选择最多 4 项内容。你也可以点击右上角的清除按钮以清除所有图标,或者直接点击图标将其移除。你需要确保按下屏幕底部的按钮,以便将更改应用到探测器中。一旦在探测器中选定了实体,你就可以右键点击本模组的屏障或压力板,将选择应用到它们上面。你还可以按住潜行键并右键点击,将选择应用到相邻的屏障和压力板上。
这三种探测器的功能完全相同。另外两种只是我们另外两个屏障模组的不同纹理。
合成配方
实体屏障:
此配方产出 16 个屏障
- 铁粒, 铁粒, 铁粒
- 金锭, 金锭, 金锭
- 铁粒, 铁粒, 铁粒
实体屏障探测器:
- 铁粒, 避雷针, 铁粒
- 金锭, 玻璃, 金锭
- 铁粒, 红石粉, 铁粒
村民探测器和宝可梦探测器是通过替换上述配方中的金锭制成的。村民探测器使用绿宝石,宝可梦探测器使用紫水晶碎片。
几乎所有实体压力板都是通过将所需的压力板与一个实体屏障并排放置合成的。
有几种例外情况,即村民、宝可梦、苍白橡木、阿普里科恩(Apricorn)、糖渍(Saccharine)和扭曲压力板。
- 村民压力板需要石质压力板和村民屏障
- 宝可梦压力板需要石质压力板和宝可梦屏障/旧版宝可梦屏障。
- 苍白橡木压力板需要白色地毯和实体屏障
- 阿普里科恩压力板需要棕色地毯和实体屏障
- 糖渍压力板需要浅蓝色地毯和实体屏障
- 扭曲压力板需要蓝色地毯和实体屏障
如果你安装了 Cobblemon 模组或 Cobblemon Distortion World 模组,你可以使用相应的压力板合成阿普里科恩、糖渍和扭曲压力板。
你可以像合成实体压力板一样合成村民和宝可梦压力板,只需将实体屏障替换为村民屏障或宝可梦屏障即可。
对于压力板、屏障或探测器的不同变体,你需要将实体版本放入切石机中。所有物品都可以在切石机中进行逆向拆解。
配置文件
/entitybarrier reload
配置文件名为 entitybarrier.json,只有在加载世界时才会生成。在服务器上,配置文件由服务器端控制。服务器管理员可以启用或禁用他们想要的任何实体。然后他们可以执行 /entitybarrier reload 命令以刷新游戏内的配置。这将向所有客户端应用更改。在单人世界中,操作方式相同,但需要你自己手动执行。
模组支持
如果你想为某个模组添加图标,你需要制作一个资源包。路径结构为 assets > textures > gui > icons > 在此处插入模组名称。在 icons 文件夹中,你需要创建一个以该模组的 mod id 命名的文件夹。例如,Burgers R Cool 的 mod id 是 burgersrcool,因此路径应为 assets > textures > gui > icons > burgersrcool。然后你可以将实体的图标纹理添加到该文件夹中。确保图标纹理的名称与你为其制作的实体名称完全一致。例如,在 Burgers R Cool 中,游戏内显示的实体名称是 Burger Boss,但在代码中它是 burger_boss。请确保匹配代码中的名称,而不是游戏中显示的名称。找到正确实体名称和 mod id 的一种简单方法是启动创造模式世界,输入 /summon 然后输入模组名称的前缀。这将向你展示确切的名称以及所有相关实体。
其他机制
如果玩家被困在屏障方块中,你可以按住潜行键退出。只要玩家处于潜行状态,他们就可以直接走出屏障。这是为了防止恶意破坏或意外将自己困住。
如果某模组的实体未在探测器或配置文件中显示,请在我们的 Discord 中告知我们。
如有任何未在本页解答的问题或遇到任何问题,请加入 Discord 以获取进一步的支持。

This mod adds Entity Barrier blocks. These blocks are configurable with the Entity Barrier Detector. With the detector you can select up to 4 entites or even groups. You can then apply these selections to the Entity Barrier blocks to stop entities from passing through. There are also Pressure Plates which can be configured but instead of blocking access they are used to allow access. Whatever entities you allow on the pressure plates can trigger them. There is also a config which will allow you to turn on or off any entity. This mod is also mod friendly. Entities from different mods should work with the detector and the config.
While other mods will have support for their entites to show up in the config and detector the mods will not have icon support. You can make a resource pack to include modded icons.
Using the Detector
The Entity Barrier Detector once made is able to be right clicked. When you right click a screen will pop up. This screen will allow you to scroll through a list of entites or pick groups at the top of the screen. You are able to pick up to 4 selections. You can also press the clear button in the top right to clear all icons or if you want you can also click on the icons to remove them. You do need to make sure you press the button at the bottom of the screen to apply the changes to the detector. Once you have selected entities in the detector you can right click barriers or pressure plates from this mod to apply the selections to them. You are also able to crouch and right click to apply to adjacent barriers and pressure plates as well.
All three detectors function the same. The other two are just different textures from our other two barrier mods.
Crafting Recipes
Entity Barrier:
This recipe gives 16 barriers
- Iron Nugget, Iron Nugget, Iron Nugget
- Gold Ingot, Gold Ingot, Gold Ingot
- Iron Nugget, Iron Nugget, Iron Nugget
Entity Barrier Detector:
- Iron Nugget, Lightning Rod, Iron Nugget
- Gold Ingot, Glass, Gold Ingot
- Iron Nugget, Redstone Dust, Iron Nugget
Villager and Pokémon detectors are made replacing the Gold Ingots from the above recipe. Villager uses Emeralds and Pokémon uses Amethyst Shards.
Almost all Entity Pressure Plates are made with the Pressure Plate you want and an Entity Barrier placed side by side.
There are a few exceptions which are the Villager, Pokémon, Pale Oak, Apricorn, Saccharine, and Distorted Pressure Plates.
- The Villager Pressure Plate requires a Stone Pressure Plate and a Villager Barrier
- The Pokémon Pressure Plate requires a Stone Pressure Plate and a Pokémon Barrier/Pokémon Old Barrier.
- The Pale Oak Pressure Plate requires a White Carpet and an Entity Barrier
- The Apricorn Pressure Plate requires a Brown Carpet and an Entity Barrier
- The Saccharine Pressure Plate requires a Light Blue Carpet and an Entity Barrier
- The Distorted Pressure Plate requires a Blue Carpet and an Entity Barrier
If you have the Cobblemon mod or the Cobblemon Distortion World mod installed you can craft the Apricorn, Saccharine, and Distorted Pressure Plates with the respective Pressure Plates.
You can make the Villager and Pokémon pressure plates the same as the entity ones but instead of the Entity Barrier use the Villager or Pokémon Barriers.
For the different variants of the Pressure Plates, Barriers, or Detectors you need to place the Entity Versions in a Stonecutter. Everything can be reverse crafted in the Stonecutter.
Config
/entitybarrier reload
The config is called entitybarrier.json and it does not generate until loading a world. On a server the config will be controlled server side. The server owner can enable or disable whichever entities they would like. They can then do the /entitybarrier reload command to refresh the config in game. This will apply the change to all clients. On a single player world it works the same way except you have to do it.
Mod Support
If you would like to add icons for a mod you will need to make a resource pack. The pathing is assets > textures > gui > icons > insert mod name here . In the icons folder you will make a folder named whatever the mods mod id is called. For example Burgers R Cool is burgersrcool so the pathing would be assets > textures > gui > icons > burgersrcool . You can then add the entites icon texture to that folder. Make sure the icon textures name is the same exact name as the entity you are making it for. For example in Burgers R Cool the entity Burger Boss in game looks like that but in the code it is burger_boss. Make sure you match what it is in the code not what is being displayed in game. An easy way to find the correct entity name and mod id is by loading up a creative world and doing /summon and then the start of the mods name. This should show you the exact name and all the entities.
Other Mechanics
If a player is trapped in the Barrier blocks you are able to crouch out. As long as the player is crouched they will be able to walk right out. This was done to stop griefing or trapping yourself accidentally.
If a mods entites are not showing up in the detector or config let us know in our Discord.
For any questions or issues not answered on this page join the Discord for further support.
评论 0
登录后参与评分
还没有评论,来抢沙发吧