#anyone got tips on how I can improve my snails AI?

4 messages · Page 1 of 1 (latest)

hallow talon
#

its meant to always go where the player goes which works but right now the player can just pillar up or go underground. check my (messy) code here: https://github.com/michiel1106/snail-test/tree/master it uses the A* pathing algorithm to always go where the player is.

If anyone has tips on how to improve it/ make the snail always able to go to the player?

(based on the snail from wild life from grian)

GitHub

test of snail entity mod. Contribute to michiel1106/snail-test development by creating an account on GitHub.

hallow talon
#

waut holy shit, tell me if its stupid but, fake player, smaller hitbox, modeled after the entity I want, and use baritones api!!

tiny cobalt
#

no need to use a fake player
baritone path ai should work. let me see if i can find the non-baritone library (the name "baritone" will generally excite anyone looking for cheats in a log)

#

nah, cant find it. good luck with the project.

Ultimately allowing vertical movement up blocks would be ideal (spider-like)