Well, i need help.

Started by PoisonousPotato on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 month ago
Joined Jul 2024
Points:
229

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 106
Well, i need help.
Sat, 07/20/2024 - 21:51 (edited)

No one helped me on the old topic, sorry for duplicating it :(

I just need an AI to entity that walks randomly to a random direction IMEDIATLY UPON IT SPAWNS

It will not do any other tasks, just run to a random direction.

 

Reason: I'm coding earthquake to my Natural Disasters mod.

Why it does that?: its bcz it will run and also explode the ground :)

Edited by PoisonousPotato on Sat, 07/20/2024 - 21:51
Active 1 month ago
Joined Jul 2024
Points:
229

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 106
thanks, will test it then…
Sun, 07/21/2024 - 17:54

thanks, will test it then tell if it worked!

Active 44 minutes ago
Joined Apr 2024
Points:
357

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 443
alright, and I wanted to say…
Sun, 07/21/2024 - 18:03

alright, and I wanted to say that in the second one you have to put all of that in an if that checks if the event/target entity is sub(type) of your entity (like in the first one), I forgot when I took that picture, It works anyways but it would be better with that initial check

Active 1 month ago
Joined Jul 2024
Points:
229

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 106
can you remake the secound…
Fri, 08/02/2024 - 00:14

can you remake the secound one like you said right now? i know what you meant but im literally NOOB at procedures so just to make sure i did understand

Active 1 month ago
Joined Jul 2024
Points:
229

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 106
the secound img
Fri, 08/02/2024 - 00:14

the secound img

Active 44 minutes ago
Joined Apr 2024
Points:
357

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 443
sorry, I meant that you have…
Fri, 08/02/2024 - 12:40

sorry, I meant that you have to change the first one, not second one: https://imgur.com/undefined 

Active 1 month ago
Joined Jul 2024
Points:
229

User statistics:

  • Modifications: 0
  • Forum topics: 26
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 106
oka thx
Fri, 08/02/2024 - 19:50

oka thx

Active 44 minutes ago
Joined Apr 2024
Points:
357

User statistics:

  • Modifications: 7
  • Forum topics: 0
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 443
You're welcome
Fri, 08/02/2024 - 22:05

You're welcome