Nether Portal Spread

模组

· 作者 Serilum

? 在可配置的半径范围内,将下界方块扩散到末地传送门周围的过界世界。

0 本站下载 0 关注 更新于 3 周前

需要前置:Collective

最新 26.3.0-8.8-fabric+forge+neo · 26.3 · Fabric / Forge

一键开服(送7天)

一个 Serilum 模组。用心打造。为 Fabric、Forge 和 Neo 提供大量活跃模组!

关于该模组

下界传送门会将(下界)方块扩散到传送门周围主世界中的可配置半径范围内。默认情况下,你可以在传送门半径内放置四个煤炭方块来阻止这种扩散。不过,这可以在配置文件中更改。当扩散效果开始时以及被阻止时,传送门附近的玩家会收到一条消息。

该模组将所有传送门位置保存到 '../world-folder/data/netherportalspread/portals/'。当创建新传送门或玩家从下界进入主世界时会检测到新传送门。因此,对于旧存档,你需要穿过一次传送门并返回,或者重新激活它,以开始扩散效果。这使得检查效率远高于在世界中逐个区块搜索传送门。




依赖项

需要 Collective
包含在 The Vanilla Experience 整合包中包含在 Serilum's RPG Bundle 中
环境:服务器




可配置

配置指南

   所有可用的配置选项:

显示剧透

sendMessageOnPortalCreation  默认值 true
启用后,向传送门附近的玩家发送消息,告知下界正在扩散,并且可以使用 'preventSpreadBlockString' 方块的 'preventSpreadBlockAmountNeeded' 数量来阻止扩散。

messageOnPortalCreation  默认值 "You feel a corrupted energy coming from the portal. The nether will slowly spread into the overworld unless %preventSpreadBlockAmountNeeded% %preventSpreadBlockString% are placed within a %portalSpreadRadius% block radius around the portal."
创建传送门时发送的消息。

sendMessageOnPreventSpreadBlocksFound  默认值 true
启用后,当传送门检测到新的 'preventSpreadBlockString' 方块时,向传送门附近的玩家发送消息,告知下界扩散已停止。

messageOnPreventSpreadBlocksFound  默认值 "With enough %preventSpreadBlockString% placed, you feel the corrupted energy fade."
找到阻止扩散方块时发送的消息。

sendMessageOnPortalBroken  默认值 true
启用后,当传送门被破坏时,向传送门附近的玩家发送消息。

messageOnPortalBroken  默认值 "With the nether portal broken, the corrupted energy is no longer able to enter the overworld."
传送门被破坏时发送的消息。

prefixPortalCoordsInMessage  默认值 true
启用后,在传送门消息中显示传送门的坐标。

portalSpreadRadius  默认值 30,最小值 1,最大值 100
下界方块可以扩散的传送门周围半径。

spreadDelayTicks  默认值 40,最小值 1,最大值 72000
下界传送门周围扩散之间的延迟刻数。20 刻 = 1 秒。

instantConvertAmount  默认值 50,最小值 0,最大值 1000
检测到传送门时,立即转换为下界方块的方块数量。如果半径内已有现有的下界方块,其数量将从此数字中减去。

preventSpreadWithBlock  默认值 true
启用后,当半径内有 n(定义)个阻止扩散方块(定义)时,阻止扩散效果。

preventSpreadBlockAmountNeeded  默认值 4,最小值 1,最大值 100
在下界传送门半径内阻止扩散所需的阻止扩散方块(定义)的数量。

preventSpreadBlockString  默认值 "minecraft:coal_block"
防止下界传送门扩散的方块。默认情况下是煤炭方块(minecraft:coal_block 是命名空间 ID)。



默认情况下,当满足以下条件时,模组会向传送门周围的玩家发送消息:
创建了一个新的传送门,且扩散开始:


使用 preventspread 方块(在配置文件中定义)停止了传送门扩散:


破坏传送门时的消息:


可配置的扩散方块
您可以在位于“./config/serilum/netherportalspread/”目录下的“spreadsettings.txt”文件中定义哪些方块应扩散为何种方块以及发生的概率。您也可以通过游戏内的 Mods -> Nether Portal Spread -> Config,在“Extra Config Files”标签页中进行编辑。默认情况下,它包含以下内容:

stone; [netherrack>10 + magma_block>2 + nether_quartz_ore>1],
grass_block; [netherrack>1],
dirt; [netherrack>1],
sand; [soul_sand>1],
gravel; [soul_sand>1],
stone_bricks; [nether_bricks>2 + red_nether_bricks>1],
sea_lantern; [glowstone>1],
farmland; [soul_sand>1],
wheat; [nether_wart>1]


如果名称值中不包含冒号(:),模组会自动在其前面添加“minecraft:”。
格式为: FROMBLOCK; [TOBLOCK>WEIGHT (+ TOBLOCK>WEIGHT + TOBLOCK>WEIGHT) ]
权重会自动转换为概率值。计算公式为:(1/总权重)*权重。
因此,默认配置文件的意思是:

将石头转化为 76.92% 的下界岩、15.38% 的岩浆块和 7.7% 的石英矿石。
将草方块转化为 100% 的下界岩。
将泥土转化为 100% 的下界岩。
将沙子转化为 100% 灵魂沙。
将砾石转化为 100% 灵魂沙。
将石砖转化为 66.67% 的下界砖和 33.3% 的红下界砖。
将海晶灯转化为 100% 荧石。
将耕地转化为 100% 灵魂沙。
将小麦转化为 100% 下界疣。

 

Minecraft 1.16 及以上版本有不同的默认配置,使用了新方块:

Show Spoiler

stone; [netherrack>10 + magma_block>2 + nether_quartz_ore>1],
short_grass; [nether_sprouts>1],
cobblestone; [blackstone>1],
grass_block; [crimson_nylium>1],
dirt; [netherrack>1],
coarse_dirt; [soul_soil>1],
sand; [soul_sand>1 + soul_soil>1],
red_sand; [soul_soil>1 + soul_sand>1],
sandstone; [blackstone>1],
cut_sandstone; [polished_blackstone>1],
chiseled_sandstone; [chiseled_polished_blackstone>1],
smooth_sandstone; [basalt>1],
smooth_red_sandstone; [basalt>1],
gravel; [soul_soil>1],
stone_bricks; [nether_bricks>2 + red_nether_bricks>1],
sea_lantern; [glowstone>1],
farmland; [soul_sand>1],
wheat; [nether_wart>1],
gold_ore; [nether_gold_ore>1],
fern; [nether_sprouts>1],
oak_leaves; [nether_wart_block>1],
spruce_leaves; [nether_wart_block>1],
birch_leaves; [warped_wart_block>1],
jungle_leaves; [warped_wart_block>1],
acacia_leaves; [nether_wart_block>1],
dark_oak_leaves; [warped_wart_block>1],
oak_log; [crimson_stem>1],
spruce_log; [crimson_stem>1],
birch_log; [warped_stem>1],
jungle_log; [warped_stem>1],
acacia_log; [crimson_stem>1],
dark_oak_log; [warped_stem>1],




Description

您也可以扩散来自其他模组的方块:
以 Mystical Agriculture 中的 Soulstone 为例:

对于模组方块的格式为 [MODID:Blockname>weight]




Showcase

(使用旧的扩散设置)

1
2
3
4
5




Notes and links

只要下载源保持在 CurseForge 或 Modrinth 生态系统中,您可以自由地在任何整合包中使用此模组。

Serilum.com 提供了所有可用模组的概览及更多信息。

如有问题、想法、建议或其他任何内容,请访问 Github 仓库。谢谢!


你是这个资源的作者?登录后可认领此资源。

评论 0

0.0
暂无评分
5 星
0
4 星
0
3 星
0
2 星
0
1 星
0
我的评分

登录后参与评分

还没有评论,来抢沙发吧

评论配图

相似资源