You can now view and interact with the inventory of an android from its new menu!
Androids can now use pocket peripherals held in their hands.
The mod now has a config file.
Command androids no longer require fuel.
API Changes (Will break scripts):
- Added swapHands() to swap the items of main and off hand
- Removed getGroundItems()
- pickup() now takes an optional type argument instead of an entityUUID
- getState() renamed to currentTask()
- stashHeldItem() renamed to storeItem()
- equipFromStash() renamed to equipSlot()
- getItemInStash() renamed to getSlotInfo()
- getFuelLevel() renamed to fuelLevel()
- Functions taking x y z arguments can be given a table with these values
Fixed:
- Androids not clearing their current task if shutdown
- Androids flicking their head repeatedly to look at players while doing a task
- Androids looking at the corner of the block they are targeting
- Androids breaking some blocks too quickly
Thank you to the people who helped get the mod past 100 downloads!
The mod's items have been moved to their own creative tab!
Added a new Wrench item that can be used to craft components and deconstruct androids to get your precious resources back!
Androids now drop half of the resources used to build them when they die. (Including their CPU and core)
All android types now have their own spawn egg for creative users.
Updated the components sprite to (hopefully) look better.
Added three new item tags for fuel determining how much fuel an item gives an android:
- minor_android_fuel -> 10
- medium_android_fuel -> 80
- major_android_fuel -> 800
API Changes:
- removed uninformative return messages from some functions
- getClosestMobOfType has been shortened to getClosestMob
Fixed:
- android.getItemInStash throwing exception when index was out of bounds
- messages sent by androids not displaying their name correctly
- misaligned indexes with android stash androids being able to use ANYTHING as fuel (oof)
Compatibility:
- Androids now use a SimpleInventory for their inventory stash instead of a DefaultedList
Androids now have their own sounds! Expect your mechanical minions to be beeping and booping while working for you!
Androids can now be locked (and unlocked) by their owning player (whoever opens their terminal first) by using a tripwire hook. When an android is locked and you are not its owner you will not be able to open its terminal or change its hand items.
Androids can now be repaired by using components on them! (Hint: they can also do this themselves)
Rogue Android spawning has been tweaked so they should appear less frequently and only underground where darkness levels are less than four
The API changes (Script breaking!!):
- Keys for tables with entity data should all be lower case now
- The "No fuel error" should be more obvious as to what fuel the android takes for fuel
- Replaced getPosition and getHealth with a getSelf function that returns a table with these values as well as addition data about the android like its UUID
Fixed:
- Android Frames not fully remembering their build progress upon world reload
- Android Frames not playing a sound when enough comps/ingots have been inserted
- Androids not being able to interact with entities (WHOOPS)