Posted December 30, 20177 yr 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, 20177 yr by Mystic4pheonix
December 30, 20177 yr Author I get no errors in the console also the block in the world loads just not the item
December 30, 20177 yr Author 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, 20177 yr by Mystic4pheonix
December 30, 20177 yr Author don't know if i set it up correct but heres the link https://github.com/Mystic4pheonix/Myticaltech/pull/1/files
December 30, 20177 yr Author that works fine it just the block item texture that's not working ill be doing code optimization late
December 30, 20177 yr Author yes but don't know how to implement it into my mod i've never heard of this part of forge before
December 30, 20177 yr Author the method is there but intertwining it into the mod OMG this is way harder than OpenGl programing
December 30, 20177 yr Author 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")); } }
December 30, 20177 yr Author 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); } }
January 22, 20187 yr Author 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
January 22, 20187 yr Author 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
January 22, 20187 yr Author FFFFFFFFFFFFFIIIIIIIIIIIIIXXXXXXX IIIIITTTT im now crying i got it working
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.