Ari Posted January 29, 2020 Report Posted January 29, 2020 I went ahead and made some textures for bauxite cobblestone and bricks. They're not perfect but they'll do. But I can't figure out how to get them into the game. There is a bauxite texture for each type in the texture folders, lined up with the other stone types. I looked in the blocktypes files and I don't see anything that I would need to change to add the blocks, it seems to just direct to the folder with the textures, where the bauxite textures are. In the grid recipe files for cobble, cobble stairs, slab, etc., I added "bauxite" to the allowedVariants section. But the blocks don't show up in the creative inventory, and I can't make them with a recipe. I'm sure I'm missing something, since I've never modded in a block before. Is there a kind modder out there who will help me figure out what I'm missing? Thanks so much!
Tyron Posted January 31, 2020 Report Posted January 31, 2020 In survival\blocktypes\stone\cobble\cobblestone.json change "variantgroups": [ { "loadFromProperties": "block/rock" } ], into "variantgroups": [ { code: "rock", states: ["bauxite"], "loadFromProperties": "block/rock" } ],
Ari Posted February 1, 2020 Author Report Posted February 1, 2020 That did it, thanks! Added it to brick as well. I'll show these off in my next video.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.