Mystic4pheonix Posted December 30, 2017 Share Posted December 30, 2017 (edited) block { "parent": "block/cube_column", "textures": { "end": "msmt:blocks/top", "side": "msmt:blocks/side" } } block item { "parent": "msmt:block/blockrottedwood", "display": { "thirdperson": { "rotation": [ 10, -45, 170 ], "translation": [ 0, 1.5, -2.75 ], "scale": [ 0.375, 0.375, 0.375 ] } } } blockstate { "variants": { "normal": { "model": "msmt:blockrottedwood" } } } this is the .json code for the block Edited December 30, 2017 by Mystic4pheonix Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 I get no errors in the console also the block in the world loads just not the item Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 ill send it in private message Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 (edited) no, i did not mean it like that just its dropbox not GitHub so the link must stay semi-private diesieben07 it only viewer mode Edited December 30, 2017 by Mystic4pheonix Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 don't know if i set it up correct but heres the link https://github.com/Mystic4pheonix/Myticaltech/pull/1/files Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 that works fine it just the block item texture that's not working ill be doing code optimization late Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 i don't understand how to use registry events and how to set them out Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 yes but don't know how to implement it into my mod i've never heard of this part of forge before Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 the method is there but intertwining it into the mod OMG this is way harder than OpenGl programing Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 public class ModBlocks { public static Block vintiaplant; public static Block darkvintiaplant; public static Block rottedwood; public static void init() { vintiaplant = new Blockvintiaplant(); darkvintiaplant = new Blockdarkvintiaplant(); rottedwood = new BlockRottedwood(); } public static void registerModels() { RegisterBModel(vintiaplant); RegisterBModel(darkvintiaplant); RegisterBModel(rottedwood); } @SubscribeEvent public static void registerBlocks(RegistryEvent.Register<Block> event) { event.getRegistry().registerAll(vintiaplant,darkvintiaplant,rottedwood); } public static void RegisterBModel (Block block){ ModelLoader.setCustomModelResourceLocation(Item.getItemFromBlock(block), 0, new ModelResourceLocation(block.getRegistryName(), "inventory")); } } Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted December 30, 2017 Author Share Posted December 30, 2017 public class ClientProxy implements CommonProxy { @Override public void init() { ModBlocks.registerBlocks(what do i put here); ModBlocks.registerModels(); ModItems.registerRenders(); ModItems.registerModels(); GameRegistry.registerFuelHandler(new FuelHandler()); OBJLoader.INSTANCE.addDomain(Refrence.MOD_ID); } } Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted January 22, 2018 Author Share Posted January 22, 2018 what dose func_77656_e() mean it keeps poping up Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted January 22, 2018 Author Share Posted January 22, 2018 7 minutes ago, diesieben07 said: Where does it pop up? it did pop up creating the block item but fix that now try'ed another method because i completely rewrote the mod Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted January 22, 2018 Author Share Posted January 22, 2018 i uploaded the most up to date version i still have the problem with the block items not rending the textures https://github.com/Mystic4pheonix/Myticaltech/tree/mythical-tech-source Quote Link to comment Share on other sites More sharing options...
Mystic4pheonix Posted January 22, 2018 Author Share Posted January 22, 2018 FFFFFFFFFFFFFIIIIIIIIIIIIIXXXXXXX IIIIITTTT im now crying i got it working Quote Link to comment Share on other sites More sharing options...
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.