CroComeT Posted August 3, 2014 Posted August 3, 2014 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 Quote
CroComeT Posted August 3, 2014 Author Posted August 3, 2014 I maked package named assets/itemsmod/textures/tools and placed texture Quote
Sgmjscorp Posted August 3, 2014 Posted August 3, 2014 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" Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 now i got errors here : public static Item ObsidianPickaxe = new ObsidianPickaxeClass().setUnlocalizedName("ObsidianPickaxe").setCreativeTab(MainClass.ItemsToolsTab); in MainClass Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 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 Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 it is same updated code : https://gist.github.com/CroComeT/1539f6e93bc22589adc7 Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 in inventory looks like obsidian_pickaxe (item) ObsidianPickaxe is Model Texture Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 ok i placed ObsidianPickaxe no obsidian_pickaxe It is same no texture Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 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 Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 so eclipse src/main/resources and than package assets.itemsmod.textures.item.ObsidianPickaxe.png Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 can it be Scale of rotatef or something Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 i write it item but its items in eclipse still no texture Quote
CroComeT Posted August 4, 2014 Author Posted August 4, 2014 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 Quote
Sgmjscorp Posted August 5, 2014 Posted August 5, 2014 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. Quote
CroComeT Posted August 5, 2014 Author Posted August 5, 2014 Yea and i exit and open eclipse again it is same 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.