Open HoldYourWaffle opened 4 years ago
addResourceSource
should be addResourcePack
.require('./zlib')
will require either index.ts
or index.browser.ts
according to the environment (the bundler like webpack will pick a correct one!). Finally, I'm appreciated your passion. It's welcome to contribute on chunk parsing feature! I'll add more detail in roadmap thread.
Thank you so much for your rapid response!
So if I understand correctly, these repositories could just as well be deleted (or marked as archived)?
I guess that makes sense. It might be good to further clarify this relationship in the documentation.
I just read (most of) the updated documentation, this makes a lot more sense indeed.
I guess that make sense. However, this also raises some new questions for me, regarding the overall "(sub)module structure" of this project, but I'll wait to post them until I have fully "analyzed" it (to prevent things like stupid oversights).
I just found this repository while doing the whole "this must have been done before"-search for a project I'm working on, and I have to say it looks very promising and I'd love to contribute 😄
I have a few questions however to clear up some confusion:
I found two other repositories in this organization that look very similar to some modules in this one, minecraft-three-model and minecraft-resource-manager-js. What's the relation between those repositories and their "corresponding" modules in this repository? ([model]() and [resource-manager]())
What's the relation between [resourcepack]() and [resource-manager]()? Intuitively I'd think
resourcepack
would be a "resource implementation" forresource-manager
, but various "common resource interfaces" likeResource
andResourceLocation
are defined in the (more specific)resourcepack
.The documentation on what is a resource/resource-manager/resource-pack/resource-source doesn't seem to "add up" so to speak. For example, the resource-manager readme mentions an
addResourceSource
method onResourceManager
, but I can't find the definition for this. The documentation forResourceManager
also mentions a generic parameter for the "type of resource content", but it doesn't seem to actually exist. I know there are more of these kinds of discrepancies, but right now I only remember those two. Is the documentation just outdated or am I missing something here?What is the zlib folder inside the
nbt
module?As I said before, I'd love to contribute to this project (https://github.com/Voxelum/minecraft-launcher-core-node/issues/102#issuecomment-604104557), but right now I'm mostly getting confused by it 😅