Figuring out how to make an entity climb walls

Started by Lambda System on

Topic category: Help with Minecraft modding (Java Edition)

Active 1 year ago
Joined Jun 2023
Points:
172

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
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
Active 3 days ago
Joined Jan 2022
Points:
448

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
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

Active 1 year ago
Joined Jun 2023
Points:
172

User statistics:

  • Modifications: 0
  • Forum topics: 7
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 8
thank you!! :D
Tue, 06/13/2023 - 14:10

thank you!! :D

Active 1 month ago
Joined Jan 2025
Points:
13

User statistics:

  • Modifications: 0
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 3
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.

Active 3 days ago
Joined Jan 2022
Points:
448

User statistics:

  • Modifications: 2
  • Forum topics: 1
  • Wiki pages: 0
  • MCreator plugins: 0
  • Comments: 53
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.