桶图腾模组
通过此模组,你可以在桶中放置一个带有你的名字的图腾,并在激活图腾时消耗它。
工作原理
当玩家的图腾激活,同时其将同名图腾放入桶中,且包含该桶的区块处于加载状态时,桶中的图腾会被消耗,从而清空桶并停止桶发出的红石信号。结合停滞室(stasis chamber),此机制可触发陷阱门,进而启动陷阱门将玩家传送至停滞室内。 此类配置的示例可在画廊中找到。
配置
配置命令
仅在 1.3.0+ 版本中可用
您可以通过新命令 /tiab <子命令> <...选项> 管理所有设置。
子命令
... config <获取|启用图腾消耗|仅在最后一个图腾使用时消耗图腾> [true|false]... override <玩家> <启用图腾消耗|仅在最后一个图腾使用时消耗图腾|触发图腾的名称> <true|false|贪婪字符串>
默认配置:
{
"EnableTotemConsume": true,
"TotemConsumeOnlyWhenLastTotemUsed": true,
"ExperimentalEnableBetterFishingHookFeature": false,
"EnableExperimentalMarkedBarrels": false,
"ExperimentalMarkerBlock": "minecraft:crying_obsidian"
}
| 变量 | 默认值 | 适用范围 | 描述 |
|---|---|---|---|
| EnableTotemConsume | true | Global, Override | 当 true 时启用模组 |
| TotemConsumeOnlyWhenLastTotemUsed | true | Global, Override | 当 true 时,桶中的图腾仅在玩家最后一个图腾触发时才会被消耗 |
| NameOfTriggeringTotem | unset | Override | 设置后,仅当触发的图腾名称与此匹配时,桶中的图腾才会被消耗。匹配时忽略大小写和前后空格。未设置表示任何图腾都有效 |
| ExperimentalEnableBetterFishingHookFeature | false | Global | 实验性功能,仅限 Fabric。 当 true 时,钓竿可以链接到目标方块并远程触发红石信号 |
| EnableExperimentalMarkedBarrels | false | Global | 实验性功能。 当 true 时,下方有标记方块的桶会被标记并模拟原始漏洞(需要重启服务器) |
| ExperimentalMarkerBlock | minecraft:crying obsidian |
Global | 实验性功能。 必须直接位于桶下方的方块,用于标记该桶 |
可选功能
这些功能完全是可选的,默认情况下处于禁用状态
Better fishing hook (experimental, Fabric only)
此功能为实验性功能,仅在 Fabric 上可用(不适用于 Paper)。它可能会在未来的版本中更改或移除,其配置键也可能重命名。无法通过游戏内配置命令启用此功能。
此功能不仅可用于停滞室,还可用于任何其他红石装置,这可能会对某些玩家造成游戏平衡性问题
如果配置文件中将 ExperimentalEnableBetterFishingHookFeature 设置为 true,则可以在目标方块上使用钓鱼竿。
此时该钓鱼竿会与目标方块关联。这会在钓鱼竿的 lore(描述文本)中列出目标方块的位置来加以指示。
如果再次使用该钓鱼竿,关联的目标方块会发出强度为 15 的红石信号,钓鱼竿会受到 1 点耐久损耗,并且方块与钓鱼竿之间的关联会被打破,需要重新建立。
这允许你在基地内直接创建钓鱼竿停滞室,而无需使用下界传送门或卸载区块。 关联关系存储在钓鱼竿本身上,因此一个玩家可以拥有多个指向不同目标的钓鱼竿,也可以将这些钓鱼竿交给其他玩家。 即使在重连和服务器重启之后,连接依然保持活跃。
关联关系跨维度生效:触发时,目标方块可以位于与你当前所在维度不同的维度中,包括由其他模组或数据包添加的自定义维度。
标记过的箱子(实验性功能)
此功能为实验性内容。它可能会在未来版本中更改或被移除。模仿原版漏洞的效果,但无需额外的图腾。此功能只能在配置文件中启用,并需要重启服务器。
{
"EnableExperimentalMarkedBarrels": true,
"ExperimentalMarkerBlock": "minecraft:crying_obsidian"
}
- 当箱子正下方的方块是标记方块(
ExperimentalMarkerBlock)时,该箱子被视为已标记。 - 当玩家将图腾放入已标记的箱子中(点击、Shift+点击或数字键选择)时,该操作会被取消:玩家保留其图腾,而箱子会获得一个以玩家命名的图腾。随后正常的图腾消耗逻辑会将其消耗掉。
- 从已标记的箱子中取出图腾会导致该图腾消失。
- 生成的图腾带有标签,因此它们在离开箱子时(无论是通过菜单、漏斗还是箱子被破坏)都会消失。这可以防止图腾复制。
Unstable SMP / Origin
我制作这个模组是因为原始的 glitch/bug(无论你怎么称呼它)在 1.18 版本中被修复了(据我所知)。它曾利用更新抑制机制在箱子或桶中生成一个幽灵物品。该方块仍然会发出红石信号,当持有另一个图腾的玩家激活该图腾时,幽灵物品就会消失,发出的红石信号也会停止,从而触发背后连接的机械装置。使用本模组也能实现同样的效果,只不过不需要之前创建更新抑制所需的那些复杂的红石机器。
The Barrel Totem Mod
With this mod, you can place a single totem with your name in a barrel and consume it when you activate a totem.
How it works
If a players totem pops and simultaneously placed a totem with their name in a barrel, and the chunk containing the barrel is loaded, the totem in the barrel is consumed, emptying the barrel and stopping the redstone signal emitted by the barrel. In combination with a stasis chamber, this can trigger a trapdoor, which then triggers the trapdoor and transports the player into the stasis chamber. An example of such a configuration can be found in the gallery.
Configuration
Config Command
Only available in version 1.3.0+
You can manage all settings via the new command /tiab <subcommand> <...options>
Sub Commands
... config <Get|EnableTotemConsume|TotemConsumeOnlyWhenLastTotemUsed> [true|false]... override <player> <EnableTotemConsume|TotemConsumeOnlyWhenLastTotemUsed|NameOfTriggeringTotem> <true|false|greedy_string>
Default config:
{
"EnableTotemConsume": true,
"TotemConsumeOnlyWhenLastTotemUsed": true,
"ExperimentalEnableBetterFishingHookFeature": false,
"EnableExperimentalMarkedBarrels": false,
"ExperimentalMarkerBlock": "minecraft:crying_obsidian"
}
| Variable | Default value | Available in | Description |
|---|---|---|---|
| EnableTotemConsume | true | Global, Override | When true enables the mod |
| TotemConsumeOnlyWhenLastTotemUsed | true | Global, Override | When true, the totem in the barrel will only be consumed when the players last totem poped |
| NameOfTriggeringTotem | unset | Override | When set, the barrel totem is only consumed if the totem that popped is named this. Matching ignores casing and surrounding spaces. Unset means any totem counts |
| ExperimentalEnableBetterFishingHookFeature | false | Global | Experimental, Fabric only. When true, a fishing rod can be linked to a target block and remotly trigger a redstone signal |
| EnableExperimentalMarkedBarrels | false | Global | Experimental. When true, barrels with the marker block below them are marked and mimic the original glitch (requires a server restart) |
| ExperimentalMarkerBlock | minecraft:crying_obsidian |
Global | Experimental. The block that has to be directly below a barrel to mark it |
Optional Features
These features are completely optional and are disabled by default
Better fishing hook (experimental, Fabric only)
This feature is experimental and only available on Fabric (not on Paper). It may change or be removed in future versions, and its config key may be renamed.This feature can not be enabled through the in-game config commands.
This feature can be used not only for stasis chambers but also for any other Redstone contraption, which may be game-breaking for some players
If ExperimentalEnableBetterFishingHookFeature is set to true in the configuration file, a fishing rod can be used on a target block.
This fishing rod is then linked to the target block. This is indicated by the target block's position being listed in the fishing rod's lore.
If the fishing rod is used again, the linked target block emits a Redstone signal with a strength of 15, the fishing rod
takes 1 damage, and the link between the block and the rod is broken and must be reestablished.
This can be used to create fishing rod stasis chambers directly in your base without using a Nether portal or unloaded chunks. The link is stored on the rod itself, so a player can own several rods with different targets, and rods can be given to other players. The connection remains active even between reconnections and server restarts.
The link works across dimensions: the target block can be in a different dimension than the one you're in when you trigger it, including custom dimensions added by other mods or datapacks.
Marked barrels (experimental)
This feature is experimental. It may change or be removed in future versions.Mimics the original glitch without needing a second totem. This can only be enabled in the config file and requires a server restart.
{
"EnableExperimentalMarkedBarrels": true,
"ExperimentalMarkerBlock": "minecraft:crying_obsidian"
}
- A barrel is marked when the block directly below it is the marker block (
ExperimentalMarkerBlock). - When a player puts a totem into a marked barrel (click, shift-click or number key), the action is cancelled: the player keeps their totem and the barrel receives a totem named after the player instead. The normal totem pop logic then consumes it.
- Taking a totem out of a marked barrel makes it vanish.
- The generated totems are tagged, so they always vanish when they leave a barrel (menu, hopper, broken barrel). This prevents duplicating totems.
Unstable SMP / Origin
I made this mod because the original glitch/bug, whatever you want to call it, got fixed in 1.18 (to my knowledge). It used update suppression to create a ghost item in a barrel/chest. That block still emitted a redstone signal, and when the player who held another totem popped that totem, the ghost item would disappear, the emitted redstone signal would stop, and whatever mechanism they'd put behind that got triggered. The same thing is possible to do with this mod, just without the big redstone machine in the background that was required to create the update suppression.
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
下载 Totem in a Barrel
- 新增对 Minecraft 版本 26.3 的支持
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
模组
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
模组
查看物品与配方
模组
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
模组
AE2:一款流行的自动化与存储模组
模组
那是什么?一个 Waila/Hwyla 的分支。
评论 0
登录后参与评分
还没有评论,来抢沙发吧