Started by
CloudySkies
on
Topic category: Help with Minecraft modding (Java Edition)
Hey, I'm wondering how you make an entity spawn for each player in the world, and each entity, if you right-click, it allows you to enter its own custom dimension that's separated from every player, basically a Tardis Entity for each player, and each player has their own Tardis Dimension.
Without custom code, you'll need to have multiple dimension which is not very scalable. Or you could have 1 dimension, and for each player without an nbt that enters a dimension increments a global variable, then give the players that nbt variable number, so when player1 enters they get nbt:dimension=1, then set their location to 10000*nbt:dimension , 60, 10000*nbt:dimension or whatever coordinates, this will place each player super far away from anyone else that enters, you could then if its what you are doing, have a structure be placed in that same spot the player is moved to so it that keeps that player only in that location.