Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

https://github.com/misode/minecraft-schemas

Schemas to parse and validate JSON structures
https://github.com/misode/minecraft-schemas

datapack minecraft schemas

Last synced: 4 months ago
JSON representation

Schemas to parse and validate JSON structures

Lists

README

        

# Minecraft Schemas

Schemas to parse and validate JSON structures

|Components|
|---|
|[![NPM Core](https://img.shields.io/npm/v/@mcschema/core?color=green&label=Core)](https://www.npmjs.com/package/@mcschema/core)|
|[![NPM Locales](https://img.shields.io/npm/v/@mcschema/locales?color=green&label=Locales)](https://www.npmjs.com/package/@mcschema/locales)|

|Schemas|
|---|
|[![Java 1.15](https://img.shields.io/npm/v/@mcschema/java-1.15?color=green&label=Java%201.15)](https://www.npmjs.com/package/@mcschema/java-1.15)|
|[![Java 1.16](https://img.shields.io/npm/v/@mcschema/java-1.16?color=green&label=Java%201.16)](https://www.npmjs.com/package/@mcschema/java-1.16)|
|[![Java 1.17](https://img.shields.io/npm/v/@mcschema/java-1.17?color=green&label=Java%201.17)](https://www.npmjs.com/package/@mcschema/java-1.17)|

### Collections
Registries with a star (⭐) are not added by the schema and need to be added after using `getCollection`
|Registry|1.15|1.16|1.17|
|---|---|---|---|
|`attribute`||⭐|⭐|
|`biome`|⭐|||
|`block`|⭐|⭐|⭐|
|`enchantment`|⭐|⭐|⭐|
|`entity_type`|⭐|⭐|⭐|
|`loot_condition_type`||⭐|⭐|
|`loot_function_type`||⭐|⭐|
|`loot_nbt_provider_type`|||⭐|
|`loot_number_provider_type`|||⭐|
|`loot_pool_entry_type`||⭐|⭐|
|`loot_score_provider_type`|||⭐|
|`mob_effect`|⭐|⭐|⭐|
|`rule_test`||⭐|⭐|
|`pos_rule_test`||⭐|⭐|
|`sound_event`|⭐|⭐|⭐|
|`stat_type`|⭐|⭐|⭐|
|`worldgen/block_state_provider_type`||⭐|⭐|
|`worldgen/block_placer_type`||⭐|⭐|
|`worldgen/biome`||⭐|⭐|
|`worldgen/biome_source`||⭐|⭐|
|`worldgen/carver`||⭐|⭐|
|`worldgen/chunk_generator`||⭐|⭐|
|`worldgen/decorator`||⭐|⭐|
|`worldgen/feature`||⭐|⭐|
|`worldgen/feature_size_type`||⭐|⭐|
|`worldgen/float_provider_type`|||⭐|
|`worldgen/foliage_placer_type`||⭐|⭐|
|`worldgen/structure_feature`||⭐|⭐|
|`worldgen/structure_pool_element`||⭐|⭐|
|`worldgen/structure_processor`||⭐|⭐|
|`worldgen/surface_builder`||⭐|⭐|
|`worldgen/tree_decorator_type`||⭐|⭐|
|`worldgen/trunk_placer_type`||⭐|⭐|