Custom Triggers Problem

Started by Heizer06 on

Topic category: Help with modding (Java Edition)

Last seen on 16:00, 26. Mar 2022
Joined Jun 2020
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Custom Triggers Problem
Fri, 04/09/2021 - 18:17 (edited)

Hey guys, I am Heizer and need help. I have over a long time now problems with the Triggers.


Here are the think I want you to say:

I think the Triggers need to have a huge update! There are not even a Trigger with for example: When entity touch water/When entity breaks block/When entity…
I think you understand what I mean and I also think the most users will agree me!
That was it for the “first part”.


Now the two questions I had:
First - If I make a AI and Goals for my Mob, there are not much choose of what the Mob should do, when… . But then I think I should make a procedure. Is AI and Goals the same as a procedure? And is there a possibility to make Custom Trigger like: When entity touch water ( this trigger is not existing yet )?

Second - How to make a trigger for my Mob (frog) when it touches the water? Here is what I want: When it touches water, it should despawn and than the other frog model with the other animations should spawn (that is than the “under water frog”)


Hope there is someone who can answer me, hopefully, all questions.
Sorry if I write a few thinks a bit dumb, that’s because I am not a pro is the language English, but I think you should understand the most thinks and if not pleas tell it me in the comments!

 
Sorry again for my bad English :P

 

 

Edited by Heizer06 on Fri, 04/09/2021 - 18:17
Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
IF YOU WANT TO HEAR ABOUT…
Tue, 04/27/2021 - 12:35

IF YOU WANT TO HEAR ABOUT THE FROG ANIMATIONS, SCROLL DOWN!

=========================================

It might sound hard, but its actually not...

If you want to make you're custom_entity1 be aggressive at custom_entity2 with a procedure..

=========================================

When custom_entity1 spawns Trigger

------------------------------------------------------

Add two bricks called(execute command in the name of Event/TargetEntity)

Command1: /team add CustomAgr

Command2: /team join CustomAgr @s

If the game crashes, do Command1 in the custom_entity1 "On tick update" Trigger

=========================================

Do "On Entity Tick Update" for you're custom_entity2, when something happens (entity tuches serten block, entity jumps, ect).

Add bricks:

------------------------------------------------------

>if (something happens):

      Add a brick called(execute command in the name of Event/TargetEntity)

      Command1: /team leave @s

>else:

      Add a brick called(execute command in the name of Event/TargetEntity)

      Command2: /team join CustomAgr @s

------------------------------------------------------

You don't need to write the team name in "/team leave" command

=========================================

Done!

 

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Detecting the frog movement…
Tue, 04/27/2021 - 13:00

Detecting the frog movement in water or land...

=========================================

Here's the code1: https://ibb.co/zFsHRCQ

Here's the code2: https://ibb.co/wJ4n0qc

=========================================

And please show me the result with video footage of the frog (if you can)...

I want to see the result,

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
And no, the code is not the…
Tue, 04/27/2021 - 13:02

And no, the code is not the same.

Last seen on 09:43, 1. Jun 2022
Joined Apr 2021
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
The jumping frog should turn…
Tue, 04/27/2021 - 13:16

The jumping frog should turn in to a swimming frog in water, when he moves. So if you don't see it strait away, no worries!