Mod is done, made a block that will teleport you randomly within 10,000 blocks of original world spawn, can also add an item if you want, waiting on curse's approval, also let me know if you'd like it to be obtainable in survival
thanklies muchly for taking the time to create and respond :) does this handle other dimensions or just the dim the player interacts with the block in? my intention is to add them to world gen structures so the crafting of them wouldn't be necessary, i could add recipes with craftTweaker.
i've just tested this and it's super snappy thanks, it doesn't seem have a dim handler tho, is that possible? currently i'm handling this by using the teleporter from enderIO, this is a 3x3 multiblock which has a config that can be set to lock the gui that sets coords or dimensions, i've added these to spawn in structures with recurrent complex so they spawn rarely throughout the overworld, i've found this to be a clunky solution tho.
i would set this behaviour to a block with BlockProperties but there seems to be no way to add the random dim aspect to a command.
if you could add this and the item as suggested so the interaction changes from random to specific that would be just perfectly awesome ofc, in my mind it would be an item set in a config something like:
range from origin: +/- x y z
dimlist (whitelist): *
range from origin: 25000 35 25000
dimlist (whitelist): -1, 1, 2, 3, 4, 5, 6, 42
1.minecraft:emerald,2,76 64 76
2.minecraft:diamond,-1,120 80 444
3.ore:ItemIngotgold,1,700, 50, 800
not sure i used correct syntax for any of that, actually pretty sure i didn't but hopefully you get the gist :)
ahh me maybe not explaining myself again, the item was intended to only perform the action whilst held and interacting with the randomteleport block, or mebe that was understood, not long been awake here :) also would it work on a server so the item isn't available to be viewed via the client config?
additional (edited after post-post)
re:"to change the dimension's AND tp to a random location would be a bit more difficult, but I will give it a shot". i would settle for just having the random dim applied:) in this example would the coords be set by the location of the overworld block-clicked or from a defined preset?
also i'd like to add a further clarification and feature request:
clarification: the random axis variation would probably need a way to prevent the player from being teleported to under bedrock.
feature: have the choice of the item being consumed on use.
So you were wanting the block to do nothing unless you had the item? And in the sense of the server, the server's config SHOULD overwrite the client's config for matters like that, but if that isn't the case, do let me know so I can fix it