Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Misc] Storage Blocks #11

Open
natrow opened this issue Dec 30, 2022 · 2 comments
Open

[Misc] Storage Blocks #11

natrow opened this issue Dec 30, 2022 · 2 comments
Labels
question Further information is requested

Comments

@natrow
Copy link
Owner

natrow commented Dec 30, 2022

Minecolonies shelves <-> TFC balancing

  • Currently stores any item size (including tools)
  • More inventory space than TFC chests

TFC blocks to test/fix minecolonies support with:

  • Tool racks
  • Barrels
  • Chests
  • Bookshelves
  • Large vessels
@natrow natrow added the question Further information is requested label Dec 30, 2022
@Chumpy83
Copy link

Chumpy83 commented Jul 21, 2023

Villagers don’t seem to use storage outside of schematics, so I made a builder with only TFC storage blocks. None of them work presently. It looks like TFC storage is implemented differently than the MineColonies rack - seems they custom defined the rack to be minimize lag. There’s also a list of recognized containers (ModContainers.class) I’m sure things need added to. I’m trying, rather in vain at the moment, to copy MC’s code for the rack (AbstractTileEntityRack.class) and make it a more generic container class, not sure how much progress I’ll make. Figured from there you can mix it in with whatever mod added storage might exist?

Def feel like I’m punching above my weight class here - gonna watch a good chunk of Java tutorial/refresher videos and see if I go a little less cross-eyed in another couple of weeks maybe? lol

@natrow
Copy link
Owner Author

natrow commented Jul 24, 2023

Yeah, for all of the issues labeled "question," I haven't done much (or any) research into them. Ideally, there would be a way to get minecolonies workers to be able to use any of the TFC storage blocks. If you can find what class(es) minecolonies uses to actually get their workers to interact with storage containers then you could mixin to that... I recall them being able to interact with vanilla chests, hut blocks, and racks. You could start by looking for uses of that AbstractTileEntityRack within any EntityAIWorker type class

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants