Nomadic Tents

Nomadic Tents

7M Downloads

Enhancement: remember exit location per player for shared tents

johalun opened this issue ยท 0 comments

commented

First, thanks for making this mod! Liking it a lot of far!

I know this is not really the intended usage but we have an idea for our modpack to use a tent that can be shared by multiple players. For example, as a neutral ground, or a common trade location.

The idea is that in our pack you can craft a tent with a specific ID that will link to the same dimension and thus each player would have their own tent, linked to the same internal dimension. This works fine already by using /give with the ID being the same so creating a crafting recipe for that is no problem.

However, when a player exits the tent, they are teleported to last location the tent was entered from. This works for a single player using the tent but if player A and B enter from different locations / tents they might exit in different locations depending on who entered last.

Would you consider a small code change to make it so the tent remembers the location each player entered from, and puts them back where they entered from?

Thanks!!

Minecraft 1.20.1
Forge modloader