Badges update automatically and link to the mod page on MineUniverse.
This mod adds a block that behaves like the Stake of Marika from Elden Ring.
Currently, the block is meant to be used in Creative (by server admins) or other modders (who want to add the block to their structures).
There are some options in the config to make it more survival usable, but I was unable to add a crafting recipe that I could turn on and off with the config, so it's ultimately pretty useless in survival.
To use the block, you find it in the Functional Block Creative tab. You then place it and right click on it to bring up the GUI (coded with LDLib!)
This button will turn a green box on or off that only the players who press this button can see. It shows the area where if a player dies they will be allowed to respawn at the stake.
This button switches between the 3 modes: Inflate, Position, and Additive.
Here are 1 to 2 rows of text boxes that configure the bounding boxes dimensions. It changes behavior based on the current mode.
The dimensions are set by a single number. That number increases the size of the bounding box in every direction.
The dimensions are set by a set of 3 numbers for the corner of the box that has all 3 coordinates moving away from the center in a positive direction, and another set of 3 that move away in a negative direction.
These numbers correspond to positions in the game world.
The dimensions are ALSO set by 2 sets of 3 numbers like in Position mode.
These numbers are added to the center where the block is and move out based on the value. (Just a tip, the numbers are always added so for the negative corner of the box, you almost always want to use negative numbers.)
This group of 3 text boxes controls the bounding box moving away from the original block by positional X, Y, Z values.
Once you're done setting up the bounding box, that's it. Anyone who dies in that bounding box will have a 3rd option show up on their respawn screen asking if they would rather respawn normally or in front of the stake.
This is my first published mod, so I hope it works well, and I tested it enough. You can report issues on the GitHub. Hope you enjoy it.