Jump to content

[1.16.4] Entity properties doesn't change in goal


vladislav

Recommended Posts

Hi! I've tried my best to search my problem here but I didn't find anything, so...
I'm trying to make my custom entity be able to seat. For this purpose, I have looked at WolfEntity class and tried to make the same things:
I've created a custom goal class: https://pastebin.com/bpCMdpyk
And there is my entity: https://pastebin.com/52W8LMw1

 

The problem is that "flag" changing in Entity class, but doesn't change in Goal, so "shouldExecute" never called.

HMP!

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.