Skip to main content

Module model

Module model 

Source
Expand description

A .ymodel made ready to draw: its bones in order, each cube baked into the quads vanilla’s ModelPart.Cube makes (same corners, same box-UV, same mirroring) — so a model drawn here looks as one drawn by the game.

Structs§

Bone
A bone, ready.
Model
A model, ready.
Quad
One four-cornered face: corners, their UVs (0–1), its normal.

Functions§

cube
ModelPart.Cube’s six faces.
texture_id
entity/x.png in mod ns → ns:textures/entity/x.png; a full id stays.