AkaliSucks Posted August 15, 2017 Posted August 15, 2017 (edited) I'm adding hundreds of Ores so im creating a system that colors them with code. to do this I need to have the stone part of the ore separated from the ore itself this is my tin blockstate.json { "forge_marker": 1, "defaults": { "textures": { "stone": "blocks/stone", "ore" : "gregtech:blocks/tinOre" } }, "variants": { "normal": { "model": "gregtech:ore" }, "inventory": { "model": "gregtech:ore" } } } the model.json is as follows { "parent": "block/block", "textures": { "particle": "#stone" }, "elements": [ { "from": [0, 0, 0], "to": [16, 16, 16], "faces": { "down": {"texture": "#stone", "cullface": "down", "tintindex": 0}, "up": {"texture": "#stone", "cullface": "up", "tintindex": 0}, "north": {"texture": "#stone", "cullface": "north", "tintindex": 0}, "south": {"texture": "#stone", "cullface": "south", "tintindex": 0}, "west": {"texture": "#stone", "cullface": "west", "tintindex": 0}, "east": {"texture": "#stone", "cullface": "east", "tintindex": 0} } }, { "from": [0, 0, 0], "to": [16, 16, 16], "faces": { "down": {"texture": "#ore", "cullface": "down"}, "up": {"texture": "#ore", "cullface": "up"}, "north": {"texture": "#ore", "cullface": "north"}, "south": {"texture": "#ore", "cullface": "south"}, "west": {"texture": "#ore", "cullface": "west"}, "east": {"texture": "#ore", "cullface": "east"} } } ] } After I launch Minecraft My issue is the attached image, the stone gets overwritten by the ore texture completely Edited August 16, 2017 by AkaliSucks Quote
Draco18s Posted August 15, 2017 Posted August 15, 2017 $10 says that your texture isn't transparent. I don't see anything wrong with your JSON model. 1 Quote 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.
AkaliSucks Posted August 16, 2017 Author Posted August 16, 2017 Thank you that was the reason @SideOnly(Side.CLIENT) public BlockRenderLayer getBlockLayer() { return BlockRenderLayer.CUTOUT_MIPPED; } I added that and it works now Quote
Recommended Posts
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.