Posted November 12, 20159 yr Hello Guys, I have a question, is it possible to disable layers in .json files such as layer0,layer1,...? Example (spawn_egg.json) { "parent": "builtin/generated", "textures": { "layer0": "items/spawn_egg", "layer1": "items/spawn_egg_overlay" }, "display": { "thirdperson": { "rotation": [ -90, 0, 0 ], "translation": [ 0, 1, -3 ], "scale": [ 0.55, 0.55, 0.55 ] }, "firstperson": { "rotation": [ 0, -135, 25 ], "translation": [ 0, 4, 2 ], "scale": [ 1.7, 1.7, 1.7 ] } } } (Sorry for my bad English ) Thanks in advance ^^
November 12, 20159 yr What do you mean by 'disable'? Don't use layers if you don't want them catch(Exception e) { } Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).
November 12, 20159 yr Sorry, I was unclear with my wording. If you don't want to use layers, put everything in layer0. Most vanilla items do this - it shouldn't be too difficult to find an example catch(Exception e) { } Yay, Pokémon exception handling, gotta catch 'em all (and then do nothing with 'em).
November 12, 20159 yr Author No, I mean an Item, with more layers that could be enabled and disabled. For Example disable layer0 but layer1 is still visible. Do you know how that works?
November 13, 20159 yr You can't do that in the json file, you need to do that in a custom renderer. BakedModelQuad, iirc. 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.