Crate mcvm_shared

Source
Expand description

This crate contains shared data for the other MCVM crates

§Features:

  • schema: Enable generation of JSON schemas using the schemars crate

Modules§

addon
Common addon constructs
id
Types and structs for IDs of and references to things
lang
Tools for languages and language detection
later
The Later enum
modifications
Enums for modifications to the game
output
MCVM output
pkg
Common package constructs
util
Other utilities
versions
Tools for dealing with version patterns

Macros§

skip_fail
Skip in a loop if a result fails
skip_none
Skip in a loop if an option is none
translate
Utility macro to translate from output
try_3
Macro to try a fallible operation multiple times before giving up and returning an error

Enums§

Side
Minecraft game side, client or server