一个简单插件,引入了对“用精准采集拾取怪物刷怪笼”这一经典做法的替代方案。通过 Shiftable Spawners,你可以使用附魔了精准采集的金镐并消耗少量经验值,将怪物刷怪笼从其当前位置向相邻方块移动一格。此举同时为至少一种金制工具提供了用途,并大幅提高了将刷怪笼长距离移动的代价。
当使用附魔了精准采集的金镐破坏怪物刷怪笼时,只要目标方块是空气且下方有实心方块支撑,刷怪笼就会移动到与其直接相邻的一个方块上。这意味着,要移动刷怪笼,你需要堵住以刷怪笼为中心、半径为一格的 3x3 立方体范围内所有可能的移动位置,仅保留你想要它移动到的那个空格。
刷怪笼永远不会原地不动(即不会停留在原处)。
它只会移动到空气方块中。
其下方必须有实心方块(即玩家可以站立的方块)。
如果找不到满足上述条件的方块,刷怪笼不会被破坏,但仍会扣除经验值。
经验值消耗可配置,但默认情况下,它会使用该刷怪笼若正常破碎时所应给予的经验值数量,即在 15 到 43 点经验之间。
如果金镐具有经验修补(Mending)附魔,玩家将消耗 1 点经验值来修复金制工具,而不是消耗耐久度。这会受到锋利(Unbreaking)附魔的影响,并且也可配置。
A simple plugin that introduces an alternative to the classic idea of picking up a mob spawner as an item using silk touch. With Shiftable Spawners you can shift a mob spawner a single block from it's current location using a golden pickaxe enchanted with silk touch and a small amount of experience points. Simultaneously adding a use for at least one of the gold tools and a large cost to moving the spawner any large distance.
When a mob spawner is broken with a silk touch golden pickaxe, it will shift to one of the blocks directly next to it as long as the block is air and has a solid block below it. This means that in order to move a spawner you need to block every location where the spawner could go within a 1 block square radius around the spawner, think a 3x3 cube centered on the spawner, except for the one spot where you want it to go.
The spawner will never shift on top of itself.
It will only shift to air blocks.
It needs a solid block below it, IE one you can walk on.
If it can't find a block that meets these requirements the spawner will not break, but the xp cost will still be taken.
The XP cost is configurable, but by default it will use the amount of xp that the spawner would have given if it had broken normally, a value between 15 and 43 xp points.
If the golden pickaxe has mending, you will consume 1 experience point to mend the golden tool instead of consuming durability. This is affected by unbreaking and is also configurable.
评论 0
登录后参与评分
还没有评论,来抢沙发吧