Theta-Dev / ConstructionWand

Minecraft Mod - Construction Wands make building easier!
https://www.curseforge.com/minecraft/mc-mods/construction-wand
MIT License
11 stars 12 forks source link

Allow wand to pull from backpacks and other inventories #43

Closed TheDeviantCrafter closed 2 years ago

TheDeviantCrafter commented 2 years ago

Building Gadgets can pull blocks from inventories carried by the player such as backpacks, dank storage, and black hole talismans. This is convenient as it cuts down on inventory management.

It may be possible to copy the code from Building Gadgets since it's under the MIT licence.

Theta-Dev commented 2 years ago

Construction Wands can do that, too. I have explicitly tested the Botania black hole talisman and dank storage units and they both work.

In fact, all mod items that implement the Forge ItemHandler capability work with CW. Botania has its own API which is supported as well.

Theta-Dev commented 2 years ago

If there is a specific item container that is not supported, please mention it (plus mod + minecraft version) and I can look into it.

AvremelM commented 1 year ago

@Theta-Dev Does it make sense that the wand can pull from a Sophisticated Backpacks backpack that's in my inventory, but can't pull from it when I'm wearing it in a Curios slot?

That's not intentional, I hope?

ConstructionWand: 1.18.2-2.7 Sophisticated Backpacks: 3.18.29.718 (in ATM7-TTS modpack)