Started by
Rowan101
on
Topic category: Help with Minecraft modding (Java Edition)
I would like to play a sound when a custom portal is activated, however there is currently only a trigger for when the igniter is used on anything even if it's not the portal. How can I detect when the portal is activated?
After some trial and error I found a way to do this. In the "When portal trigger used" procedure, I test for the custom portal block by running the custom code: