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
}
| 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 |
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.
All Versions
+ Add Version- Added support for Minecraft version 26.3
- Added support for Minecraft version 26.3
- Added an option to add a custom name that the totem in the players inventory must have to trigger the underlying totem in a barrel consume
- Added an option to add a custom name that the totem in the players inventory must have to trigger the underlying totem in a barrel consume
- Includes all the features offered by the latest version that the fabric version had
- Raised version in correlation with the first paper release
- Added an ingame config command to manage the config on thy fly and avoid restarting the client / server for every change.
- Added player override config functionality so its possible that the totem in a barrel works only for specific players (as an example)
- Added an ingame config command to manage the config on thy fly and avoid restarting the client / server for every change.
- Added player override config functionality so its possible that the totem in a barrel works only for specific players (as an example)
- Added support for 26.2
- Added an ingame config command to manage the config on thy fly and avoid restarting the client / server for every change.
- Added player override config functionality so its possible that the totem in a barrel works only for specific players (as an example)
- Added support for the client server to run in singleplayer
- Added support (hopefully) for future hot fix versions of minecraft