这个仅服务器端模组可以将一个按钮变成一个可用的自动喷水灭火装置。将一个按钮放置在水浸没(或是水源)的方块下方,任何在其喷洒范围内引发的火都会被扑灭——伴随着嘶嘶声和蒸汽,就像雨水一样;走过其中的燃烧生物也会被熄灭。
使用方法
- 放置一个方块并将其设为供水源:可以将其水浸没(例如水浸没的台阶、楼梯、栅栏、铁栅、树叶),或者在其上方放置水﹡
- 在该方块的底部放置一个按钮,使按钮悬挂在天花板上。(任何类型的按钮均可使用。)
这样就完成了。喷淋头现在已处于待命状态。只要没有起火(或燃烧的生物经过)其喷洒范围内,它将保持不可见且无反应。一旦有火情发生,它只会在该位置“下雨”——以原版灭火时的嘶嘶声和一缕蒸汽将火扑灭。
由于它是由火触发的,处于待命状态的喷淋头不会像真正的雨水那样湿润农田、从树叶上滴水、填满锅具或提升钓鱼效率。它仅在需要灭火时才会发挥作用。
﹡:实际上,你也可以将水放在按钮上方两个实心方块的上面,即按钮上方有两个实心方块,再在上面放水。这样可以避免客户端的水滴效果,而无需使用玻璃方块。因此,一个整洁的方案是:一个水浸没的铁栅或树叶方块,位于两个石头方块之上,再下面是按钮。
如果你不介意视觉上的水滴效果,中间只需隔一个石头方块即可,甚至可以直接是一个带有按钮的水浸没铁栅。红树林根部和铜制铁栅非常适合这种用途,因为与大多数其他可水浸没的方块(如台阶)不同,它们能容纳水而不会泛滥,并且与树叶不同,你可以在它们的下方放置按钮。
喷洒范围
喷洒范围随着下落而变宽,就像一个真实的喷淋头,然后被限制在一个 11x11 的正方形区域内。
喷洒方向为垂直向下:只有当喷头级别以上直接没有固体“地板”阻挡时,才能接触到火。所谓“地板”,是指任何能像屋顶挡雨一样阻止水流下的东西——完整方块、台阶、楼梯、栅栏、关闭的陷阱门。开启的陷阱门、蛛网、火把、地毯、花朵以及水/水浸没方块则允许喷洒通过。
This small server-side-only mod turns a button into a working fire sprinkler. Place a button on the underside of a block that is waterlogged (or is a water source), and any fire that starts in the spray cone beneath it is put out just like rain — with a hiss and steam — and burning mobs walking through are extinguished too.
Usage
- Place a block and make it a water supply: either waterlog it (e.g. a
waterlogged slab, stairs, fence, grate, leaves) or put water above it﹡
- Place a button on the underside of that block, so the button hangs from
the ceiling. (Any button type works.)
That's it. The sprinkler is now armed. It stays invisible and inert until a
fire actually starts (or a burning mob wanders) within its spray cone, at which
point it "rains" on just that spot — putting the fire out with the vanilla
fire-extinguish hiss and a puff of steam.
Because it is fire-triggered, an armed sprinkler does not hydrate
farmland, drip from leaves, fill cauldrons, or boost fishing the way standing
rain would. It only acts when there is something to put out.
﹡: actually you can put the water above the solid block above that instead,
ie. two solid blocks above the button, with water above those. That way,
client-side water drips can be avoided without resorting to using glass blocks.
So, a tidy solution is a waterlogged grate or leaf block, above two stone blocks,
above a button.
If you don't mind the visual drips, it can just be one stone block between,
or even just a waterlogged grate with a button. Mangrove roots and copper
grates are good for this because unlike most other waterlogged blocks like
slabs, they'll contain the water without flooding, and unlike leaves,
buttons can be placed under them.
The spray cone
The spray widens as it falls, like a real sprinkler head, then is confined to an 11x11 square.
The spray falls straight down: a fire is only reached if there is no solid
"floor" directly above it, up to the sprinkler's level. A floor is anything
that stops falling water the way a roof stops rain — full blocks, slabs,
stairs, fences, closed trapdoors. Open trapdoors, string, torches, carpets,
flowers, and water/waterlogged blocks all let the spray through.
评论 0
登录后参与评分
还没有评论,来抢沙发吧