Improve docs on behavour trees and builders #79
-
|
I just can not understand what happened while I was not paying attention to the Botcraft. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
|
Hi! I think you've missed the wiki pages about this stuff. Their links are in the readme, but here is the one about clients and trees. I'll answer your questions here too for completeness.
I kinda ... worked on it?
Behaviour trees are just mathematical models. They can be used to create complex behaviours from simple subtasks.
Because of their shape. With node and leaf, they make think of trees.
Trees don't replace packet handlers or loop or any other code. They are just a tool you can use or not on top of the rest of the library.
That's a full subtree that can be used when you need to eat, with many checks (set food in hand, try to eat, find food in nearby chest if no more in inventory etc...).
I'm not sure what you mean by onTick. Botcraft never had any onTick function. What you call onPacket is probably the
The wiki page mentioned above should answer that.
Your opinion is noted |
Beta Was this translation helpful? Give feedback.
-
|
Oh I totally blinded that wiki pages that you made, perhaps will be good idea if you put those into readme or "home" maybe |
Beta Was this translation helpful? Give feedback.
Hi!
I think you've missed the wiki pages about this stuff. Their links are in the readme, but here is the one about clients and trees. I'll answer your questions here too for completeness.
I kinda ... worked on it?
Behaviour trees are just mathematical models. They can be used to create complex behaviours from simple subtasks.
Because of their shape. With node and leaf, they make think of trees.
Trees don't replace packet handlers or loop or any other code. They are just a tool you can use or not on top of the rest of the library.