Terrasteel AIOT not working with Terrasteel armour
razgriz5000 opened this issue ยท 3 comments
Versions
Minecraft: Forge: 1.16.3
Botania: 1.16.3-408
AIOT Botania: 1.16.2-1.3.2
Modpack:
All the mods 6 1.1.5 https://www.curseforge.com/minecraft/modpacks/all-the-mods-6
Describe the bug
Terrasteel AIOT does not mine blocks that cannot be insta mined. when full terrasteel armour is worn. Looks like it does a single hit and then resets.
How to reproduce
- Install ATM6 instance
- give yourself terrasteel armour and terrasteel AIOT
- Try to mine
Expected behavior
For the terrasteel AIOT to mine blocks
Screenshots
Now I tried to reproduce this bug but I'm not able to do it. Could you give information about which types of blocks you tried? And in active mode or normal mode? Anything else?
A short video could be helpful, too. Maybe a log, too.
I'm also having this issue while using any band of Aura. (With or without the armor)
I'd suspect it has to do with the terrasteelAIOT using the depreciated IManaGivingItem instead of the TERRA_PICK_BLACKLIST tag
Terrasteel AIOT code -----------------------
@Override public boolean canReceiveManaFromItem(ItemStack stack, ItemStack otherStack) { return !(otherStack.getItem() instanceof IManaGivingItem); }
Current terra shatterer code ----------------------
@Override public boolean canReceiveManaFromItem(ItemStack stack, ItemStack otherStack) { return !otherStack.getItem().isIn(ModTags.Items.TERRA_PICK_BLACKLIST); }