Mineuniverse
Log in Register
Mods

MCglTF

glTF library for Minecraft Mod
by protoxy22
Download Claim this project
817,641 downloads
0 likes
Updated Jun 30, 2026
0 hypes

MCglTF is a 3D model loader library which load glTF format file and prepare the required techniques to render the model for Minecraft Modding enviroment.
Various features from glTF spec are available, but still remain a good compatibility and performance.

github.com/TimLee9024/MCglTF-Example

What is glTF?

The following image gives an overview of glTF:

glTF overviewFrom github.com/javagl/gltfOverview/

Japanese translation by Takuto Takahashi

More detail github.com/KhronosGroup/glTF/

Usages

The example codes for rendering Block, Item, and Entity

Features

  • ✅ GLTF format (Embedded resources or via ResourceLocation)
  • ✅ GLB format
  • ✅ UVs
  • ✅ Normals
  • ✅ Tangents
  • ✅ Vertex colors
  • ✅ Materials (Require OptiFine or Iris Shaders and supported ShaderPack for PBR and Normal map)
  • ✅ Textures
  • ❎ Mutiple texture coordinates (For compatibility reason with Vanilla)
  • ✅ Rig
  • ✅ Animations (multiple)
  • ✅ Morph targets
  • ✅ Zero-scale node culling (https://github.com/KhronosGroup/glTF/pull/2059)

 

Frequently Asked Question

Q. Why my texture for my model does not show up?
A. You need to defined material inside "extras" of "materials" to link your texture. For more details please visit wiki page.

Q. Why two animations cannot control translation/rotation/scale/weight in same node at the same time and cause one of the animation not playing?
A. There is no animation blending technique defined in glTF specification, so the animations created by GltfAnimationCreator does not support animation blending too. You need to create your own animation processor based on your scenario.

Q. How to apply my custom processing to the model like custom material(e.g. apply player skin) or create special OpenGL commands for specified node?
A. For more advanced way to generate OpenGL commands for glTF model, you can override and return false to isReceiveSharedModel(GltfModel, GltfRenderDatas) in your IGltfModelReceiver. This allow you to create your custom RenderedGltfModel based on supplied GltfModel. (Beware to add your OpenGL objects like VBO, VAO, Texture, etc to GltfRenderDatas for deletion during refresh resource.)

 

Credit

MCglTF-1.12.2-Forge-1.0.0.2.jar
MC Forge, 1.12.2
Release 2022-05-04 Get
MCglTF-1.18.2-Forge-1.0.0.0.jar
MC 1.18.2, Forge
Release 2022-04-01 Get
MCglTF-1.12.2-Forge-1.0.0.1.jar
MC Forge, 1.12.2
Release 2022-03-27 Get
MCglTF-1.16.5-Forge-1.1.0.0.jar
MC 1.16.5, Forge
Release 2022-03-27 Get
MCglTF-1.12.2-Forge-1.0.0.0.jar
MC Forge, 1.12.2
Release 2022-03-10 Get
MCglTF-1.16.5-Forge-1.0.0.0.jar
MC 1.16.5, Forge
Release 2022-03-10 Get

More from protoxy22

ModularMovements
227,864
ModularWarfare - Guns & more
1,213,084

You Might Also Like

Vivecraft
A Minecraft VR mod on a loader of your choice!
9,988,339
Athena
A crossplatform (Forge/Fabric) solution to connected block textures for 1.19.4+
99,799,527
Lodestone
A collection of code used throughout projects under the Lodestar team.
9,914,417
TheDragonLib
A library for most of sokratis12GR's Mods
9,910,232
Multi Mob Library
A library mod containing essential files for Daveyx0's mob mods
9,892,767
FTB Library (Forge) (Legacy)
FTB Library is a library mod that is used for some of our mods.
98,265,314