matriks404 / mlc Goto Github PK
View Code? Open in Web Editor NEWA handy tool that gives informs user about block/item ID's for legacy Minecraft versions.
Home Page: https://matriks404.github.io/mlc/
A handy tool that gives informs user about block/item ID's for legacy Minecraft versions.
Home Page: https://matriks404.github.io/mlc/
ids.json
should probably reference recipe ID's in recipes.json
.
For now:
And maybe old Mac browsers and some others (old Firefox/Opera?), especially for Linux and other Unix-likes.
I don't know how do I want to implement this stuff now, and there are much more important things to do. IE10 and IE11 support is very minor thing to implement though.
And maybe:
It can probably be done better, I guess.
Some stuff to do:
Not sure what to do here though, since they are generated by algorithm AFAIK.
Programmatical JSON generation:
Working with the ids.json
right now is not really friendly for modifying and may cause errors. I think better approach would be to programmatically generate it based on changes from previous Minecraft versions as for blocks, items and other data (not implemented yet).
Split JSON to multiple files:
This will reduce amount of data needed to download by user if everything he wants to see is only one or copule of versions of the same version group (e.g. Indev or Beta).
Document JSON structure and generation on the wiki.
This might be more suited for traditional Wiki though (no plan to make it yet).
:)
In the ids.json
it is assumed they are stationary (instead of flowing variants), but this may be wrong.
Additionally if neither block and items are unobtainable display message that says that. I don't think any known version will be affected by this problem, but still.
Following versions are affected:
Also do not show placeholder "[NO NAME]" when highlighting a block/item. Currently it's only done to give any sort of indication for user that he indeed hovered (or clicked on mobile devices) on a item.
I think something like bold green โ๏ธ on top of darkened entry will be fine.
Right now in the repo there are both SCSS and computed CSS files (bad design), instead of having only SCSS so GitHub page can be opened with stylesheet applied. I need to figure out, what should I change so it doesn't work like that.
I guess, I probably need to have GitHub page at different branch, since current solution is troublesome.
Also move source_scss
to source/_scss
and update scripts.
The idea is to show friendly build number near version in parentheses next to version number, e.g. v0.1-dev (master; build 27)
for master
branch or v0.1 (urbandasher_release; build 30.4)
for Milestone 1 Wave 1 (Codename UrbanDasher).
This will decrease amount of space taken by ids.json
.
Also I think it would be simpler to just show a single same graphic _unknown.png
for every block/item with not known render, so I will remove images/blocks/indev/_unknown.png
, which is also used wrongly for early Infdev versions (I think), even though this _unknown
block render is based on transparent block rendered in early Indev (I hope that this makes sense).
Following versions are affected:
Some users with slower connections may prefer to load static image with all necessary information regarding items/blocks/achievements for specified version. Should probably display a warning that this is not a good choice if looking at multiple versions info on single visit.
Alternatively it might be beneficial to have a spritesheet for every version, so each file is not load separately and allows website to be interactive, but it doesn't change the fact that you need to have JSON file loaded, so this is probably a bad idea.
Right now it's a big mess. Probably just use different shades of few colors.
Each version with invalid item ID's has "hasUnknownItemIds": true
property set up, so we should use it instead of manually adding ?'s in the ids.json
file, which is pain.
Edit: I have figured out, that for early Infdev versions having property of having unknown item ID's set to true doesn't make much sense, since they are unlikely to be changed from late Indev at all, but this is still nice improvement, as this actually makes sense code-wise.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.