Posted August 3, 201411 yr So i maked all for me model in techne and i got this error on ForgeHooksClient.bindTexture("/itemsmod/textures/tools/ObsidianPickaxe.png", 0); error is on bindTexture here is whole class : https://gist.github.com/CroComeT/c5f3e74567791ffec4c4 here is Techne .java class : https://gist.github.com/CroComeT/fbbaac9d86f6e19fb115 ClientProxy if needed : https://gist.github.com/CroComeT/31fdbab96af555d8ed46
August 3, 201411 yr What diesieben07 means is one of these: ResourceLocation texture = new ResourceLocation(Mod.modName, "textures/models/modelOrb.png") Then bind texture to the model. In your case, the location would be "textures/tools/ObsidianPickaxe.png"
August 4, 201411 yr Author now i got errors here : public static Item ObsidianPickaxe = new ObsidianPickaxeClass().setUnlocalizedName("ObsidianPickaxe").setCreativeTab(MainClass.ItemsToolsTab); in MainClass
August 4, 201411 yr Author i fixed it. but i not have texture when i place in inventory or hand theres no texture(purple and black). ObsidianPickaxeClass : https://gist.github.com/CroComeT/15ef21d1e0534e726b69 Techne ObsidianPickaxe : https://gist.github.com/CroComeT/779007ab505b29500971 Error in Console : https://gist.github.com/CroComeT/7ac61a0c16146960c9cd
August 4, 201411 yr Author it is same updated code : https://gist.github.com/CroComeT/1539f6e93bc22589adc7
August 4, 201411 yr Author in inventory looks like obsidian_pickaxe (item) ObsidianPickaxe is Model Texture
August 4, 201411 yr Author This is me full ObsidianPickaxeClass : https://gist.github.com/CroComeT/5817feb5af18c262de92 if you need technic class and ClientProxy : Technic : https://gist.github.com/CroComeT/20b3e26c69a2549add70 ClientProxy : https://gist.github.com/CroComeT/fd7296252f2a9ef44698
August 4, 201411 yr Author so eclipse src/main/resources and than package assets.itemsmod.textures.item.ObsidianPickaxe.png
August 4, 201411 yr Author oh can i send you me workspace with pm (download link) and you can fix me two block plant and model, and than send me link can you? ex. DropBox
August 5, 201411 yr Well, I'm tapping out with one last thought: Have you refreshed Eclipse's "Resource" folder? (F5 with it selected.) That's a common overlook for me which is why I ask.
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.