Started by
mrgwbland
on
Topic category: Help with Minecraft modding (Java Edition)
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 such as vanilla portals is not possible not even with code without some nasty hackery
how does one perform nasty hackery?
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
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