romelo333 / notenoughwands

This mod gives the player a number of very configurable and versatile wands
MIT License
7 stars 2 forks source link

Compatibility with other block-producing items #108

Open Tschipp opened 4 years ago

Tschipp commented 4 years ago

Hello! I am the Author of a mod called Builder's Bag. The mod adds a bag which can create/store blocks and provide them to the player when they need them. For example, this works when building with the BetterBuilder'sWands wands. I've gotten requests (https://github.com/Tschipp/BuildersBag/issues/10) to add compatibility with your mod. I looked at your code, and (although it doesn't seem up to date), I didn't see anything where I could hook my code into. I would require an interface that would look something like BBW does it: https://github.com/portablejim/BetterBuildersWands/blob/1.12/src/main/java/portablejim/bbw/api/IContainerHandler.java

Any item that could provide blocks would implement this and you would need to do the appropriate checks in your code for that.

Would something like this be possible?

McJty commented 4 years ago

I think you might have been looking at the wrong github:

https://github.com/romelo333/notenoughwands1.8.8

But this does sound interesting. For what MC version?

Tschipp commented 4 years ago

Oh yeah I was looking at the wrong version. This is (currently) for 1.12.2, will be updated though. This could also be neat because it could be expanded so that Botania's block providing wands would work with these wands

McJty commented 4 years ago

This mod will eventually get ported to 1.15.2 so would be nice to also think about that version

Tschipp commented 4 years ago

Yeah I will also port mine to 1.15.2