Started by
marco“asciitzu”
on
Topic category: Help with Minecraft modding (Java Edition)
Hi! I'm new to the forum and this is my first time trying to make a mod for my server. I'm attempting to create a portal with a new dimension that allows players to go to this new dimension and change the mode from survival to creative. I managed to do that, and I also managed to clear the items and set the experience to 0 when returning back. However, during testing, I noticed that throwing items through the portal causes them to end up on the other side, where the world is set to survival mode. How can I prevent the portal from sending items when they are thrown through it? Thanks so much for the support!
I personally have never used it, but try to use the "can travel through portal" variable in the portal section. This may not help much, but it will at least start you on the right track.
I hope that others can soon assist in this regard, sorry for the limited help.