Switching dimension without losing items

Started by kolokythi on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Switching dimension without losing items

Okay so bascially I made a dimension that gives you a clean slate when you enter however it also destroys the exit so I want to make an item that


1. allows you to travel from whatever dimension you're in to the custom dimension (unless in said custom dimension in which it moves you back to the previous dimension you were in at the exact same coords) 
2. not remove your items when you enter the custom dimension

however I'm not sure where to start or how to go about doing this any help would be great

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Well I made the item and…
Wed, 02/05/2025 - 16:53

Well I made the item and made it teleport you to my custom world however it still removes your inventory

Joined Jan 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
oh and it cant return you
Wed, 02/05/2025 - 16:54

oh and it cant return you

Joined Sep 2024
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
well just make it so it…
Tue, 02/18/2025 - 18:02

well just make it so it checks if the player has a tag(e.g. non-clearable) and if it does, does nothing