Cotton Resources

Cotton Resources

22.9k Downloads

Cotton Resources ingots and gems cannot be used for beacons

muzikbike opened this issue ยท 14 comments

commented

Along the lines of #31, but with items instead.

2019-09-10_23 11 04
2019-09-10_23 11 09
2019-09-10_23 13 57
2019-09-10_23 14 06

commented

Closing this ticket since Cotton Resources is pretty much a discontinued project from the time being - feel free to reopen this if work continues

commented

Now that VMulti is out and working, I'm gonna look into PR'ing support for it into C-R.

commented

This is now part of vanilla 1.16.

commented

iirc, the fundamental issue is a bit along the lines of #31 as well: we'd need to do some complex stuff to make it actually work.

commented

yeah, this is honestly probably gonna be a lot harder than even doing the blocks, since beacons do this with an anonymous class. We'd need to replace that to add support, and that would probably be something that Fabric API would need to do.

commented

Oof, that's not even the half of it. The real issue is the SlotPayment class that's package-private, which dictates if a player can insert those item stacks into the container.

commented

https://gfycat.com/SparseVigorousGibbon ๐Ÿ‘€

I'm gonna spin this out into a separate lib, and once it's out then this can be implemented in Cotton Resources!

commented

Could there be a way to allow items to appear in the GUI somehow alongside the other four?

commented

That's already been implemented!

commented

God it'd be so much better if vanilla had #beacon_bases and #beacon_sacrifices tags for this kind of stuff...

commented

That's the plan! I've almost got it ready, I just wanna add REI support first.

commented

The lib is now finished! I'm gonna do some final touches then get it published. Cotton Resources should be implementing this soon!

commented

While this isn't related to the original topic, could something like that also be done for conduit frames as well?

commented

I might do that sometime