Comments (7)
any update regarding this? Thanks!!
from minecraft-jar-extractor.
from minecraft-jar-extractor.
node image_names.js 1.15.2 out tmp
I think the issue might be that the 1.15.2 data does not exist (yet)?
from minecraft-jar-extractor.
If I run this with 1.14, I get something else (but similar). Under what circumstances is this script supposed to work? Should it at least work for non-issue items and jump over the issues or is it desired behavior that it fails? I don't understand enough of the data structure to be able to say...
/minecraft-jar-extractor/image_names.js:250
const model = itemMapping[item.name] ? itemMapping[item.name] : item.name
^
TypeError: Cannot read property 'air' of undefined
at mcData.itemsArray.map.item (/home/minecraft/server/mc_assets/minecraft-jar-extractor/image_names.js:250:30)
at Array.map (<anonymous>)
at getItems (/home/minecraft/server/mc_assets/minecraft-jar-extractor/image_names.js:249:42)
at /home/minecraft/server/mc_assets/minecraft-jar-extractor/image_names.js:302:5
at /home/minecraft/server/mc_assets/minecraft-jar-extractor/get_minecraft_files.js:19:7
at ZipFile.<anonymous> (/home/minecraft/server/mc_assets/minecraft-jar-extractor/node_modules/extract-zip/index.js:46:11)
at ZipFile.emit (events.js:198:13)
at FdSlicer.<anonymous> (/home/minecraft/server/mc_assets/minecraft-jar-extractor/node_modules/yauzl/index.js:202:10)
at Object.onceWrapper (events.js:286:20)
at FdSlicer.emit (events.js:198:13)
at onCloseDone (/home/minecraft/server/mc_assets/minecraft-jar-extractor/node_modules/fd-slicer/index.js:74:12)
at /home/minecraft/server/mc_assets/minecraft-jar-extractor/node_modules/graceful-fs/graceful-fs.js:61:14
at FSReqWrap.args [as oncomplete] (fs.js:140:20)
from minecraft-jar-extractor.
from minecraft-jar-extractor.
This seems to be fixed now, seems you have fixed it.
I am sorry, but I am not able to debug this properly since I fail to understand the script and the underlying modules.
from minecraft-jar-extractor.
It's fixed yes
from minecraft-jar-extractor.
Related Issues (11)
- Just for reference, a python version of this is available at https://github.com/pangeacake/minecraft-jar-extractor HOT 1
- Extract more block display stuff from the jar HOT 1
- Use data extractor to get the block states HOT 1
- Consider making a second output file keeping the code HOT 1
- Extract block_name -> model names from decompiled client code HOT 8
- The first texture isn't always the right/best one...
- Make a fernflower node package / wrapper and use it to automatize extraction HOT 2
- image_names.js fails
- Consider making the download+decompile part of the extraction
- "Callback must be a function" error with 1.14 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from minecraft-jar-extractor.