More procedure triggers

Started by YourNightmxre on

Topic category: Feature requests and ideas for MCreator

Last seen on 14:32, 23. Oct 2022
Joined Dec 2018
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
More procedure triggers

So I´ve been using MCreator for a long time and the procedure system is really well made but I´d like too see more Procedure triggers for example:

"Entity collides with Entity", "Weather changes" and "Command block executes command"

It would really make it easier for people, like me, who are not experienced in Coding and it would really be a neat update :D

Last seen on 15:21, 16. Oct 2023
Joined Oct 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Cool ideas but i have to…
Wed, 07/13/2022 - 10:58

Cool ideas but i have to explain how procedure triggers work. 

They use built-in forge (or fabric or bedrock) triggers that are called events. They don't make new ones, just implement existing. Now i can talk about these 3 propositions.

 

Entity collides with Entity

This is not an existing trigger. However you can do it by using "On entity tick update" trigger and checking all nearby entities within small range. Its not perfect but i don't think there's anything better. You can make this in mcreator. 

 

Weather change

This also is not a trigger. You can make this with world tick update and checking if it rains, can slow and is thundering (i don't know if mcreator had this few procedures) 

 

Command block executes commmand

Again there's no event like this and I don't know how to detect that. 

​​​​​