Topic category: Help with Minecraft modding (Java Edition)
I'm making a system where in a simple terms i'm making a house (which is an entity so its portable) and when each one is spawned it has their own id and once right clicked sends the entity to their own structure in a special dimension. The problem is that i want to be able to exit the house / control where the house goes with a block that has a special nbt data which says what id it has and once it has been right clicked it checks as all the house entitys and then compares if one of the house entities has the same synced data (of which id it has) with the one of the block nbt of the id it is linked to and if it finds one then it gets the synced data of the x, y, z coordinates stored in the entity and teleports the player to those coordinates. (I tried to make it simple for y'all to understand.) greatly appreciated if someone helped (:>
Image of what I did wrong (i made it so it sends the coords so I can bug test):
Does anyone know? or did I made it too complicated?