Topic category: Help with Minecraft modding (Java Edition)
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
IF YOU WANT TO HEAR ABOUT THE FROG ANIMATIONS, SCROLL DOWN!
=========================================
It might sound hard, but its actually not...
=========================================
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!
=========================================
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,
And no, the code is not the same.
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!