Is it possible to disable nether portals?

Started by mrgwbland on Tue, 04/28/2020 - 14:13

Topic category: Help with modding (Java Edition)

Last seen on 16:59, 16. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
Is it possible to disable nether portals?
Tue, 04/28/2020 - 14:13

I want to disable these portals, if possible in a specific dimensions, however if I can only disable them completely I will also need end portals disabling

Disabling vanilla features…
Tue, 04/28/2020 - 19:14

Disabling vanilla features such as vanilla portals is not possible not even with code without some nasty hackery

Last seen on 16:59, 16. May 2021
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
how does one perform nasty…
Tue, 04/28/2020 - 19:38

how does one perform nasty hackery?

 

Last seen on 09:40, 5. Aug 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
I think it is illegal. ONE…
Thu, 08/05/2021 - 09:37

I think it is illegal.

ONE WAY:

procedure trigger:

on block tick update:

if block is nether portal:

remove block

 

ANOTHER WAY(may not work,im too lazy to test it):

on block added:

if block is nether portal:

cancel trigger

Last seen on 09:40, 5. Aug 2021
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • Tracker tickets:
  • MCreator plugins:
  • Comments:
if you just want to ban…
Thu, 08/05/2021 - 09:37

if you just want to ban travelling to nether but the portal is ok try:

when entity travels to dimension:

if dimension is NETHER:

cancel trigger