Started by
v3NTF
on
Topic category: Help with Minecraft modding (Java Edition)
I would like to know is there any way I can make a portal that works but that a custom size. I'm trying to make a smaller nether portal so I'm wondering is there a way I can make it work with a size like 3x4. I was able to make a procedure and it works but the portal blocks disappear immediately.
Edited by v3NTF on Sun, 11/03/2019 - 02:48
Here is the second procedure
If they are too small to read anything you can just right-click on them and open them in a new tab and you'll be able to read them.
Portal block is checking for the dimension of portal and if it is not valid, it will break itself.
@klemen how would i fix this?
For Vanilla portals, near to impossible, for mod portals, you would need to do some code modifications, but some mathematical knowledge and Java programming knowledge would be required.
Okay thank you
@Klemen
That was easy enough I was able to make a custom portal size very very easily, all I had to do was make the dimension, build the whole mod, look in MCreators code browsers and edit the portals "BlockCustomPortal" code file extension
height : int
width : int
isValid() :boolean
And wam the whole thing works, yay. All this and i have very little knowlegde on Java Programming. So thank you for making MCreator so easy to use an edit with :)
Nice, I did not even think of doing it this way :) You are welcome!
But can you do it so it is like a end portal instead?
@Klemen Link this page into the wiki so people can find it easily.
crispy_chips1234: this would be out of the scope of MCreator at the moment.
But mods like The Twilight Forest can do it. Some mods can even have custom shaped portals.
Sort of unrelated but Does the switch dimension procedure block switch you to the coordinates you are standing at or to 0 0 64?
Out of sope means that we currently have more important features to add as we are quite limited with time we can work on MCreator. Remember, MCreator is free and we (2 developers at the moment) work on this project voluntarily.
Teleport location is sort of random, depending on the world type so the best is to teleport the entity right after dimension switch to the desired location.
Why aren’t other pylo programmers working on this?
Pylo is these two developers, me and Matej. Pylo is just a name behind which we work on these projects.