altoclef icon indicating copy to clipboard operation
altoclef copied to clipboard

ignored gear

Open GaiaB0t opened this issue 3 years ago • 3 comments

Bug Description

the bot ignores already provided netherite gear to make iron gear for some reason on all modes

Steps to Reproduce (as best as you can)

have netherite gear, doa command like @gamer or something

Expected Behavior

utilize the provided gear

Actual Behavior

completely ignore the provided gear and make iron tools

Crashlogs and Screenshots (if applicable)

GaiaB0t avatar Oct 29 '21 13:10 GaiaB0t

Fix Idea (Personal Noes for when I fix this later)

gearSatisfied(Slot) -> returns whether a gear of a certain material or better is in that slot. From now on use that whenever checking for gear equipment.

EquipArmorOrBetterTask -> Keep EquipArmorTask, but have this extra option where it will equip the best armor in our inventory and use gearSatisfied to determine if it has enough gear to equip.

TacoTechnica avatar Oct 31 '21 01:10 TacoTechnica

btw this applies to tools also

GaiaB0t avatar Oct 31 '21 16:10 GaiaB0t

I believe that this has been applied for tools. Possibly armor.

JamesGreen31 avatar Dec 29 '21 20:12 JamesGreen31