📝 Registration
In this page we're going to see how geometries are stored, registered and accessed.
🪣 Geometry storage
Similarly to animations, geometries are stored in container files (usually with .geo.json
suffix)
Each container may have only one model stored inside.
To register a given geometry container into the game, HammerAnimation provides a separate registry.
Each element of said registry is an instance of org.zeith.hammeranims.api.geometry.IGeometryContainer
.
tip
HammerLib already provides us with a simple content registration pipeline (see 📝 Content Registration
)
This is what we're going to use to get models registered properly and easily.