Making a Portal With a Specific Size

Started by CloudMC6211 on

Topic category: Help with Minecraft modding (Java Edition)

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Making a Portal With a Specific Size

So I am making a mod that adds a new dimension with a portal, but I don't want to use the auto-made "(dimension name) Portal Igniter" item. Also, I want the portal to have a specific size, so it only works at that one size. Is there any way to do this? 

 

 

By the way, the dimension is a new deep dark dimension that uses the portal that generates within the deep dark biome.

Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
You could add a procedure…
Sun, 04/09/2023 - 13:38

You could add a procedure that checks the portal's size and replaces the portal blocks with air if the portal isn't the right size. 

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Yes, but how do I actually…
Mon, 04/10/2023 - 21:02

Yes, but how do I actually check the size of the portal?

Joined Apr 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Ok i must know how to do…
Fri, 05/26/2023 - 01:17

Ok i must know how to do this someone please help or I will quit this mod and make a new one. Thanks. Anyway, does ANYONE know how to check for a specific size (facing x and z directions, plus the igniter could be at a different spot on the portal)?