Is it possible to disable nether portals?

Started by mrgwbland on

Topic category: Help with modding (Java Edition)

Last seen on 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is it possible to disable nether portals?

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 22:18, 7. Feb 2022
Joined Oct 2018
Points:

User statistics:

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

how does one perform nasty hackery?

 

Last seen on 06:33, 1. May 2023
Joined Mar 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • 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 06:33, 1. May 2023
Joined Mar 2020
Points:

User statistics:

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