Posted June 7, 20205 yr I'm trying to add Rose Quartz to the game. When I do the pillar the block shows up in game but with no textures. This is what I have in BlockInit @SubscribeEvent public static void registerBlocks(final RegistryEvent.Register<Block> event) { event.getRegistry().register(new Block(Properties.from(Blocks.QUARTZ_PILLAR)).setRegistryName("rose_quartz_pillar_block")); } My Blockstate { "variants": { "axis=y": { "model": "block/rose_quartz_pillar_block" }, "axis=z": { "model": "block/rose_quartz_pillar_block", "x": 90 }, "axis=x": { "model": "block/rose_quartz_pillar_block", "x": 90, "y": 90 }, } } And my model { "parent": "block/cube_column", "textures": { "end": "block/rose_quartz_pillar_top", "side": "block/rose_quartz_pillar" } } Any idea what I'm doing wrong?
June 7, 20205 yr Please post your debug.log, it will tell us what is going wrong. *edit: also, please use an external post site for the debug.log, as it will be quite large for sure. github gists are great for that. Edited June 7, 20205 yr by Ugdhar
June 7, 20205 yr 27 minutes ago, Umpaz said: "end": "block/rose_quartz_pillar_top", "side": "block/rose_quartz_pillar" You need to include your mod ID or the game will search the minecraft textures. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 7, 20205 yr Author 4 minutes ago, Draco18s said: You need to include your mod ID or the game will search the minecraft textures. I changed it for the model and blockstate. Still shows up textureless. Edited June 7, 20205 yr by Umpaz
June 7, 20205 yr Your debug.log will be in the run/logs folder in your mod project folder. Also please keep support requests on the forums, I do not provide personal support via private msg
June 7, 20205 yr Author https://gist.github.com/Umpaz/190cb29ec7bd3d624e156072bafb0410. Sorry about that
June 7, 20205 yr Quote [06Jun2020 20:53:28.004] [Server-Worker-5/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'umpaztweaks:blockstates/rose_quartz_pillar_block.json' missing model for variant: 'umpaztweaks:rose_quartz_pillar_block#' [06Jun2020 20:53:28.005] [Server-Worker-5/WARN] [net.minecraft.client.renderer.model.ModelBakery/]: Exception loading blockstate definition: 'umpaztweaks:blockstates/rose_quartz_pillar_block.json' in resourcepack: 'Mod Resources': com.google.gson.stream.MalformedJsonException: Expected name at line 6 column 3 path $.variants.axis=x [06Jun2020 20:53:29.248] [Server-Worker-8/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load umpaztweaks:textures/block/rose_quartz_pillar_top.png : java.io.FileNotFoundException: umpaztweaks:textures/block/rose_quartz_pillar_top.png [06Jun2020 20:53:29.344] [Server-Worker-3/ERROR] [net.minecraft.client.renderer.texture.AtlasTexture/]: Using missing texture, unable to load umpaztweaks:textures/block/rose_quartz_pillar.png : java.io.FileNotFoundException: umpaztweaks:textures/block/rose_quartz_pillar.png Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
June 7, 20205 yr Author I'm using the same blockstate as the vanilla quartz pillar. I copied and pasted on purpose to make sure nothing should have gone wrong.
June 7, 20205 yr He already did: 15 hours ago, Umpaz said: My Blockstate { "variants": { "axis=y": { "model": "block/rose_quartz_pillar_block" }, "axis=z": { "model": "block/rose_quartz_pillar_block", "x": 90 }, "axis=x": { "model": "block/rose_quartz_pillar_block", "x": 90, "y": 90 }, } } And it does contain the error. I spotted it easily. Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable. If you think this is the case, JUST REPORT ME. Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice. Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked. DO NOT PM ME WITH PROBLEMS. No help will be given.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.