Started by
RandomGi91
on
Topic category: Help with MCreator software
I'm making a questing mod, and the procedure I use to set the quests randomly uses event/target entity for everything. However, in a command that lets you reroll the quest, the entity iterator is the player being affected, rather than the event/target entity like in the first procedure. How do I call the first procedure from the second procedure so that the entity iterator becomes the event/target entity in the first command? (In the second procedure, the event/target entity is the one executing the command while the entity iterator is the one whose quest is being set) Procedure available if needed :)
Thanks!
Use custom code snippet:
net.mcreator.yourmodnamehere.procedures.yourprocedurenamehereProcedure.execute(world, entityiterator);
You can add other dependencies for the other procedure like:...execute(world, entityiterator, x, y, z);
The "entityiterator" is the important part.