How to prevent dimension from spawning portals

Started by Bloxspace123451 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jul 2015
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to prevent dimension from spawning portals

Hello, I was wondering if there is any way of me disabling portals from spawning in my dimensions and in the overworld.

Example 1:

Lets say that I made a time machine block that teleports me to dimensions of different times, but I don't just wanna use a portal to get back home, I wanna either make it where you can find another time machine block or you have to create another time machine in order to get back home.

Example 2:

If you've seen the show Rick and Morty, they use a gun that opens portals into other dimensions (lets assume the portal is one block that takes you to a random dimension) and so I want to use the gun to take you to places rather than a nether-portal based design.

 

If you understand what im trying to say and know how I can do this, I would really appreciate the help.