
Что это
Use glTF models in resource packs and mods!
- Тип: мод
- Загрузчик: fabric, quilt
- Версии Minecraft: 1.20 – 1.21.4
- Скачиваний на Modrinth: 4 128
Подробно
Using frapi (the fabric-rendering API), this mod intercepts requests for block models, and if they refer to glTF files, provides them as static models that get baked into the chunk geometry as normal. Entirely clientside, this mod can be used to power "cursed" resource packs that replace existing blocks with non-cuboid shapes that vanilla can't make.
It can also be used as an "included" mod to power non-cuboid blocks in your mods.
The easiest way to create a compatible model is in Blockbench.
- From the app, select "New -> Low Poly / Generic Model" and hit the "Create new model" button. - Any identifier, UV mode, or other settings are fine. - When you're satisfied with your model, hit "File -> Export -> Export glTF Model". - Blockbench ignores most of these settings, and the defaults are perfectly fine. - Find the file you exported and put it where you would normally put a json blockmodel (e.g. assets/minecraft/models/block) - make a child model which refers to the gltf model as a parent, with a root key-value pair of "loader": "suspiciousshapes:gltf". You can fill-in texture references and set color indices here too. - Edit the text of the glTF model to replace the texture's data URL with a texture reference.
The last part there is the hard part. In the file you'll see something like, json "images":[{"mimeType":"image/png","uri":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAr0lEQVQ4y6WTMQrCQBBFt0xtk0YQL+QR0mpnYyk5QbDObTc84YVB0NnFgSGTyf7/5w+bUpJ4LMdaeuI6jzWC5/Vcm0kAAyAleE6Hd00vkn8Fq0oCJv32up9yEg6REPGEQDLemyYR6DS3y7ATp3tQTTCEWqH3U50DcQccRl0b9lKSuAvV0wXG+AQyRTOYiDughkB76bXVgiDr5gkEeYEAu8iuf0L/WiD/Iii94diZ+gZo3N9oOnqLFAAAAABJRU5ErkJggg=="}]
This is a base-64 encoded image of the texture you used. Since block models can't use random textures that aren't in the atlas, we'll have to fix that. Replace each of the unreadable strings marked "uri" with a minecraft texture reference, like this
json "images":[{"mimeType":"image/png","uri":"minecraft:blocks/stone"}]
Or, if you're making several models with this shape, you can use it as a parent with a texture up-reference like normal:
json "images":[{"mimeType":"image/png","uri":"#all"}]
Your child model can look something like this: json { "parent": "minecraft:block/sphereall.gltf", "loader": "suspiciousshapes:gltf", "textures": { "all": "minecraft:block/acacialeaves" }, "colorIndexes": [ 0 ] }
And that's it! Load up minecraft or reload resource packs and you should see your model!
Как установить
Скачайте файл на официальной странице ниже и положите его в папку mods (для модов) или plugins (для плагинов) вашего сервера или клиента. Для модов нужен совместимый загрузчик. Версия должна совпадать с версией Minecraft.
Текст подготовлен автоматически из описания на Modrinth и ждёт проверки редакцией.
Комментарии 0
Комментарии к этому материалу отключены.
Читайте также
Excalibur | Trade Cycling
Excalibur-styled textures for Trade Cycling by henkelmax: a dark, weathered, medieval cycle button for the villager trading screen… 05.12.2026
The Swift Scout - Teemo
Teemo's collection, mushrooms, items, and blowguns! 05.12.2026
QuickTrigger
Adds Spawn and Home teleport buttons directly to your inventory, made for the VanillaTweaks Homes & Spawn datapacks 05.12.2026
Aevium Create
Aevium Create enhances Create Minecraft with client-side mods for performance and quality of life. 05.12.2026
Where Am I?
Displays player coordinates, the biomes they are located in, and the time of day or night. 05.12.2026
Stephen Alek's Nostalgia Pack!
A resource pack that brings back beta textures while only changing some modern textures. 05.12.2026