Skip to content

Aeldrion/IrisDataGen

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IrisDataGen

A data generator extracting block shapes and entity dimensions into JSON files for Iris using data from the Minecraft client.

Requirements

  • JDK 25
  • A working Minecraft directory containing a jar for the target version client (you have this if you have already played this version)

Usage

To extract data for a given Minecraft version, run ./gradlew run -PmcVersion=<version name>, e.g.

./gradlew run          # Defaults to 26.1
./gradlew run -PmcVersion=26.1
./gradlew run -PmcVersion=26.2-snapshot-3

or on Windows:

gradlew.bat run -PmcVersion=26.2-snapshot-3

If you need to specify another Minecraft directory, you can use the -PmcDir option:

./gradlew run -PmcDir=/home/ael/Games/Minecraft
gradlew.bat run -PmcDir=C:\Users\Ael\Local\Roaming\.minecraft

Two JSON files, blocks.json and entities.json, are generated in app/generated.

Warning

IrisDataGen only functions on the unobfuscated Minecraft client and as such is incompatible with versions prior to 26.1-snapshot-1. IrisDataGen also depends on methods from the Minecraft jar, which may be changed in any snapshot.

About

Data generator for block outline shapes and entity hitboxes used by Iris

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages