本模组添加了结构延伸方块,可供模组制作者用于简化结构的制作。
视频教程在此:
功能说明:
结构延伸方块会检测其上方或下方是否存在方块。如果对面一侧为空,它会将检测到的方块向上/向下延伸,直至遇到下一个方块为止。
例如,你有一个类似矿洞的结构,并希望让其中的铁链一直向上延伸至洞穴顶部,你可以在顶部放置结构延伸方块;加载时,它将自动把下方的铁链向上延伸。
工作原理:
使用该方块进行建造时,请先执行命令 /gamerule structureextenderactive false,以便在不立即激活的情况下进行建造。之后,你可以将其放置在某个方块的上方;若其上方至少存在一个空气方块,且最多不超过 300 个空气方块的高度,则下方的方块将向上延伸,直到碰到顶部的“屋顶”。在此过程中,结构延伸方块自身也会被替换。同样地,若该方块上方有方块而下方为空气,也会产生对应的向下延伸效果。当你的结构加载到新世界中时,结构延伸方块会自动激活并执行上述操作。
该方块仅在以下两种情况下生效:要么其正下方有一个方块,要么其正上方有一个方块。它不能同时上下各有一个方块,也不能上下均为空气。
理论上,它可以延伸所有类型的方块。
问题反馈:
如果你发现任何问题,请联系我们。最高效的方式是在我们的 Discord 服务器中告知我们,这样我们可以最快看到并处理。
This mod adds the structure extender block, which can be used by mod creators to make structure making easier.
Video tutorial here:
What it does:
The structure extender block will detect if there is a block below or above it. If the opposite side is free, it will extend the detected block up/down until it reaches the next block.
So for example you have a mineshaft like structure and you want the chains to go up until they reach the cave roof, you can place the structure extender on top, and on loading it will automaticall extend the chains up.
How it works:
To build with the block, you first have to do "/gamerule structureextenderactive false" so that you can build with it without it activating instanly. You can then place it ontop of a block, and if there is at least one block of air, and at maximum 300 blocks of air above, it will extend the block from below upwards until it hits a roof. It will also replace itself in the process. The same works with having a block ontop of it and air below. When your structure loads into a new world, the structure extender block will automatically activate and do its thing
The block only works if there is either one block below it or one block above it. It can not have one block below and above at the same time. It can also not have just air below and above it.
It should be able to extend all blocks.
If you find problems:
If you find any problems, please contact us. The most effective way is to tell us in our discord server, as we will see it fastest there.
评论 0
登录后参与评分
还没有评论,来抢沙发吧