Figuring out how to make an entity climb walls

Started by Lambda System on

Topic category: Help with Minecraft modding (Java Edition)

Joined Jun 2023
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Figuring out how to make an entity climb walls
Mon, 06/12/2023 - 03:42 (edited)

wow look at that my 3rd daily forum page in a row ;;]

I made a hostile mob that is kind of similar to the Warden, but not really. I already have it's AI down, but I just had an idea of making it be able to climb walls, similar to how a Spider/Cave Spider would, in the case of the player trying to tower up to bamboozle it. 

Help would be nice on this :]

Edited by Lambda System on Mon, 06/12/2023 - 03:42
Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
All you have to do is open…
Mon, 06/12/2023 - 19:07

All you have to do is open up your entity's code and copy/paste a bunch of spider stuff in there! (And then tweak its AI/movement with procedures if you want/need to.)

Here's a thread where I previously responded to a similar scenario: https://mcreator.net/comment/231084

And here's the Imgur album showing the code edits: https://imgur.com/a/gBPq3Xp

Joined Jan 2025
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Is there a simpler way to do…
Fri, 01/03/2025 - 02:53

Is there a simpler way to do this? Also there is so much code there I don't know what to use.

Joined Jan 2022
Points:

User statistics:

  • Modifications:
  • Forum topics:
  • Wiki pages:
  • MCreator plugins:
  • Comments:
Not that I'm aware of. But…
Sat, 01/04/2025 - 02:52

Not that I'm aware of. But take a look at the notes I added in the code. Only the first screenshot of code has spider-related code; the rest is drowned code for water + land movement.