Does anyone know how to specify a seed so that when creating a world it is always the same? I do not know why Mojang removed the "seed" field from the dimension file for datapack, now I have to ask you for help. Yes, I know that this is not on the topic of KubeJS, but whether an approach using KubeJS is possible, I do not know.
#Problem with seed
10 messages · Page 1 of 1 (latest)
Once your ticket has been resolved, please close it with </ticket close:1054771505520717835> command!
The XY problem is when you really want to do X, and you think that Y can achieve X. However, you can't get Y to work, and so ask for help exclusively about Y.
This can lead to a lot of confusion from the people trying to help you, as Y can seem like a very random thing to want to do, and a lot of the time isn't the best way to achieve X anyway.
Its fine to ask about Y, just always include some context about X so you can be put on the right track if Y won't do X well, or there is an easier way to do X.
Is it possible to change the seed of the world using KubeJS? For example, when a server creates a world or a player in a single world, are there events that allow, if not directly enter a value, then give a link to it and already try to do something from it?
In the context of world, I mean world, oddly enough, and not dimension, since they cut off such an opportunity by giving all dimensions one seed.
Ah, there is not enough motivation to help, because there is no point in this help, yes, it is logical. I need this for a modpack, since I have encountered great difficulty generating structures through KubeJS, where the problem is the frequent enmity between the X and Y coordinates of these structures in terms of their sign (+ or -). My structure should spawn underground at a height of -30 (Y pleased me, there are no problems with it), but X and Y should be 15, 15 respectively (I mean the conditional center of the structure), but it just so happens that if there is a large cave in place of the structure, then it blocks the possibility of accurate generation on the specified coordinates of the structure. This is very important to me, because I'm going to teleport the player to its center (according to the type of bunker), where the player will be. If there is any possibility to attach the coordinates of the spawn player with the center of the structure, I would be only glad.
Damn, but I'm a dumb guy. You can do this: scan an approximate area within a radius of 150 blocks to match some special block. When he is found, give him the cords and transfer them to the player, increasing the height by 1 block to prevent getting stuck. The campaign of explanation gives an inexplicable effect.
I forgot to explain the meaning of seed. If I'm not mistaken, it makes it possible to create an identical world, there I would look at where the structure was spawned and would accurately indicate the coordinates of the player's spawn and not worry about what he could spawn in stone, but there is a minus, an identical world for everyone will be uncool, so probably the second option looks better.