GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feather/feather/generated at develop · aheart/feather

Expand file tree

/

generated

/
Copy path

Directory actions

More options

More options

Directory actions

More options

More options

Latest commit

 

History

History
History
 
 
/

generated

/
Copy path

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
feather
feather
 
 
generators
generators
 
 
src
src
 
 
Cargo.toml
Cargo.toml
 
 
README.md
README.md
 
 
regenerate.sh
regenerate.sh
 
 

README.md

feather-generated

Code generated from JSON files.

Code generators are written in Python and live in the generators directory. The script regenerate.sh can be used to invoke all generators and regenerate all code.

Running these scripts requires rustfmt and Python 3.6 or greater. Note that code generation is not a mandatory part of the build process, so you only need to regenerate code after modifying a generator script.

feather-generated currently provides the following:

  • Generated Biome enum and ID mappings.
  • Generated BlockKind enum, which is used by feather-blocks.
  • Generated EntityKind enum and ID mappings.
  • Slot conversion functions for inventories, including the Window struct.
  • Items and associated data (ID mappings, tool mappings, durability, ...)
  • The Particle struct with protocol ID mappings.

Data is sourced from two sets of files:

  • PrimsarineJS/minecraft-data, which provides the majority of data. These files live in the minecraft-data subdirectory, which is a Git submodule. Make sure that Git submodules are up to date before running the scripts.
  • Feather's own data files, which live in the feather directory.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.