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

Started by Freddyfozbear7800 on Thu, 08/11/2022 - 16:09

Topic category: Help with modding (Java Edition)

Last seen on 00:35, 2. Oct 2022
Joined Aug 2019
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
How to make it so your only able to enter custom portal and create custom portal with certain armor
Thu, 08/11/2022 - 16:09

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:34, 25. Sep 2022
Joined Mar 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • 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!