Skip to content

Datapack-Registry/default

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 

Repository files navigation

Minecraft Default Data

Generate Data Latest Release Latest Snapshot Compare

image

This repository keeps track of Minecrafts generated default data for a datapack for every version since version 17w43a. Every hour a check is made to see if there is a new Minecraft version. If a new version is available, it will be published on the generated branch with the corresponding tag of the version.

Generated Assets can be found here: Resourcepack-Registry/default

Structure

Individual files can be viewed by the corresponding version tag:

https://github.com/Datapack-Registry/default/blob/<version>/<path to file>?raw=true

Or to view the latest data, there is a latest-release and latest-snapshot tag:

https://github.com/Datapack-Registry/default/blob/latest-release/<path to file>?raw=true

https://github.com/Datapack-Registry/default/blob/latest-snapshot/<path to file>?raw=true

How it works

flowchart TD
    START((Start))
    --> 
    A[Get latest **Version**<br>from Manifest]
    --> 
    B[Check for existing<br>**Snapshot** tag]
    -->
    TAG_EXISTS{Tag exists}
    -->
    |No| TAG_EXISTS_NO-A[Download new<br>**Snapshot** Data]
    -->
    TAG_EXISTS_NO-B[**Add** corresponding<br>version tag]
    -->
    TAG_EXISTS_NO-C[Check if<br>**Snapshot == Release**]
    -->
    TAG_EXISTS_NO-EQUAL{Equal}
    -->
    |Yes| TAG_EXISTS_NO-EQUAL_YES-A[**Remove** old<br>'latest-release' tag]
    -->
    TAG_EXISTS_NO-EQUAL_YES-B[**Add** new<br>'latest-release' tag]
    
    TAG_EXISTS_NO-EQUAL
    -->
    |No| TAG_EXISTS_NO-D[**Remove** old<br>'latest-release' tag]
    
    TAG_EXISTS_NO-EQUAL_YES-B
    -->
    TAG_EXISTS_NO-D

    TAG_EXISTS_NO-D[**Remove** old<br>'latest-snapshot' tag]
    -->
    TAG_EXISTS_NO-E[**Add** new<br>'latest-snapshot' tag]
    -->
    TAG_EXISTS_NO-F[**Commit** new<br>changes]
    -->
    TAG_EXISTS_NO-G[**Update** badges]

    TAG_EXISTS
    -->
    |Yes| END

    TAG_EXISTS_NO-G
    -->
    END((End))
Loading

Disclaimer

The purpose of this repository is not to "redistribute" Minecraft data! It should just simply serve as an easy and convenient way to view the differences between one version and another.

This repository assumes that because Mojang intentionally provides a public API for downloading the client.jar, they have no objection to the resulting generated assets existing anywhere on the internet for public consumption. If this assumption is ever contradicted, the repository will be removed immediately.

About

Automatic generated Minecraft default data.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •