If you want to use minecraft-data in a new language, we advise you to create a new wrapper
Data
Data provided:
Data
Description
Biomes
Blocks
Enchantment
Effect
Status/Potion effects
Entities
Language
language code and their english strings
Instruments
sounds emitted by blocks
Items
Map icons
Provides all available map icons as used by (crafted) maps
Materials
to be used with blocks data. Provides tool speed multipliers against material types.
Particles
Id and names of minecraft particles
Protocol
a complete description of the protocol, can be used to automatically implement the protocol, see protodef doc
Protocol Versions
the whole list of minecraft protocol versions
Recipes
to be used with blocks and items data
Windows
the different kind of windows and their characteristics
Version
Versions
all the versions supported in minecraft-data
Block collision shapes
Foods
list of foods each with there id, saturation, foodpoints and more
Commands
a tree structure for vanilla minecraft server commands, and some info needed to implement sub-parsers.
Legacy
mappings between legacy (1.12) and post-flattening (1.13+) blocks and items ids
Skin data
(bedrock edition) Skin geometry and texture data for steve skin
Features
This can be used to check is a specific feature is available in the current Minecraft version. This is usually only required for handling version-specific functionality.
See more information about this data in the documentation
Minecraft data also provides json schemas in enums_schemas/ that are used in
test/test.js to check the json file are valid relative to these schemas.
These schemas can also be used to understand better how the json files are
formatted in order to use it.
Some of the data was extracted manually or automatically from wiki.vg and minecraft.gamepedia.com.
If required by one of the sources the license might change to something more appropriate.
Related project
minecraft-assets which provide minecraft assets along with json files that help to use them.
请发表评论