How to make it so your only able to enter custom portal and create custom portal with certain armor

Started by Freddyfozbear7800 on

Topic category: Help with modding (Java Edition)

Last seen on 21:12, 10. Jun 2023
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
How to make it so your only able to enter custom portal and create custom portal with certain armor

How could I make it so that when a player has a certain type of armor on they are able to create the portal and also enter that portal but only with that armor (i saw the can make portal and can enter portal procedure things in the dimension tab and that's what got me wanting to get this working)

Last seen on 13:58, 21. Jan 2023
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
This is Quite simple First…
Sun, 09/18/2022 - 23:13

This is Quite simple First begin by going into your dimension and select the Plus on the Can make portal and make the procedure then Check for Your armor set(Slots; 100-103 counting upwards) in this case in an if statement and return true, outside of the if statement return false. Then Use that procedure in can travel through portal. Also, a clause for people in Creative mode may make it more enjoyable for Creative mode players!