#Editable Mob AI

1 messages · Page 1 of 1 (latest)

rose smelt
#

Drag a fox to literal hell and back and you may find it achieves a somewhat more worldly outlook on things and then hurriedly devotes itself to a more monastic life.

But hey, the upside is you get to tell it what to do with its time once it does, using the power of in-game programmable behaviour trees!

https://youtu.be/GnTMIuvazRc
https://github.com/Lyinginbedmon/TricksyFoxes
https://legacy.curseforge.com/minecraft/mc-mods/tricksy-foxes

Public discord channel: https://discord.gg/zsjKje4

Tricksy Foxes adds programmable foxes that can respond dynamically to the ingame world to perform almost any necessary automation task. And they look dang cute doing it too.

Available on both CurseForge and Modrinth:
https://legacy.curseforge.com/minecraft/mc-mods/tricksy-foxes
https://modrint...

▶ Play video
old compass
rose smelt
#

Just foxes for the moment but I've also got plans to offer enlightenment for wolves and goats and probably other animals after that

#

Goats will probably make rather durable bodyguards

hoary moon
#

This um im conflicted 😆

#

How do u offer “englightenment” yeefuckinhaw

delicate jewel
#

Cliffs. Nearby and convenient!

rose smelt
hoary moon
stark sky
#

Thought it said edible ai.

rose smelt
#

I mean... if you like fox meat...

hoary moon
#

God I love foxes. It's weird if u wake up early or walk around at night in my city they sometimes walk by and u never expect it

#

tamed foxes are cute af as well and so expressive

rose smelt
#

All the better then if you can have them around your base doing all your chores 😄

south lantern
#

Or having them as emergency food

#

You are feeding them for that one emergency day

hoary moon
rose smelt
#

Currently working to make the tree UI actually look pretty and then I'll hopefully have a beta version out this week

rose smelt
rose smelt
#

Very basic start but trying to make the tree UI look a little less data science-y by sort of evoking illuminated manuscript aesthetics. Need to make the connector lines less direct.

#

(not final textures, just ripped the warped vine texture for testing)

hoary moon
#

oooo neat

rose smelt
#

Not quite finished but the connector lines are certainly looking a lot prettier even with temporary textures

tame crystal
#

i thought this said edible instead of editable lol

old compass
rose smelt
#

At least three people so far

old compass
#

yeah

tough totem
#

this looks like the agent ui from what i have seen in screenshots

rose smelt
#

The Agent uses a very similar AI system with a Code::Blocks-style interface in a lot of cases

gusty crypt
#

I’d want to edit a foxes AI to become an Enderman

south lantern
#

Can it become my food?

rose smelt
#

Currently there's quite a laundry list of planned options for conditions and leaf nodes. Things such as picking up items, equipping items, dropping items, using items on an entity or position, retrieving and storing items in inventories, a suite of different attack actions (melee, bow, potion, etc), and of course breaking and placing blocks. More specific actions like teleportation will likely be reserved for distinct tricksy mobs as part of an effort to differentiate them from one another. A wolf's available actions should differ from a goat's, for instance. The objective is that almost any automation need will be possible through some combination of nodes.

#

A diverse array of conditions and getter functions will allow the mobs to retrieve a whole plethora of information from both the world around them as well as variables in their memory, like the kind of block at a position and whether a crop is ready for harvest.

#

The infrastructure for adding all of that is already operational, I'm just focusing on the vital smaller details before I get distracted by them.

#

One particularly interesting detail I have planned is barks, temporary values that are visible above the mob's head like exclamation points and question marks, which will be indexed and accessible by other mobs. This will allow a mob to perform an action (barking) that can then affect the AI of other mobs that can see it.

rose smelt
#

Beta versions now available for download on both CurseForge curseforge and Modrinth modrinth 🎉

rose smelt
#

Happy little furnace manager

rose smelt
hoary moon
#

heh that's awesome

rose smelt
#

They're learning!

rose smelt
#

And the trifecta

south lantern
#

Can it have 9 Tails?

rose smelt
#

Not yet at least

rose smelt
#

Item textures finally starting to come in

rose smelt
#

Some significant upgrades to tree readability and editing planned for next version

#

Custom names and a toggle to show child nodes, per node

rose smelt
#

This should certainly make editing nodes a lot easier...

rose smelt
#

I promise I had this block planned days before the crafter was announced but I'm fully aware everyone will inevitably think I'm just copying vanilla anyway 😔

#

I wanted to add some kind of auto-crafter because adding a crafting node to the behaviour tree system would be a massive can of worms to actually implement and would probably be incredibly limited to the point that people probably would never use it anyway.

rose smelt
#

Pros: Doesn't need its crafting components piped in (it can draw them directly from neighbouring inventories), retains a recipe to craft instead of them needing to be generated based on items in slots, can be triggered with a simple right-click on either of its blocks
Cons: It's a two-tall block, takes a second to craft anything, and does not deposit directly in inventories
Where the work table excels in compacting and redstone automation, the friar is definitely intended to be an aesthetic on-demand crafter, and also greatly streamlines efforts to get foxes to craft things since they just need to activate it and then pick up the result.

rose smelt
#

Bees Inside ™️

rose smelt
#

Latest: Added a /tricksy command which can instantly enlighten a fox as well as manage its accomplishments. Accomplishments needed to become enlightened are now a configurable datapack element, allowing me to actually put the other 14 so-far-unused accomplishments to use.

rose smelt
rose smelt
#

Now this certainly has a lot of potential...