Closed UndarkAido closed 1 year ago
Yep, I've got (at least part of the library) working.
https://github.com/John-Dean/MCGame
Using "webpack": "^5.73.0"
Config file here: https://github.com/John-Dean/MCGame/blob/98128f3b2bd13a486eb87c1427b5ecbeba9e1a83/packaged/config/webpack.browser.js
I'm using model
nbt
resourcepack
system
unzip
and world
In readme, there is a table in the section named Active Packages. The last column of the table should tell the environment.
I've been trying to get this to work in a webpage today and I've been failing, has anyone tried recently? I think I've gotten all of the Node.JS fallbacks working but it seems to be hung up on the usage of
Buffer
inyauzl
and I'm stumpedAnd then I think I need to load the pack from a blob? I'm also wondering if I can use Minecraft's JAR as a pack.