Xetapro12 Posted October 26, 2014 Posted October 26, 2014 Hey i maked a mod called RubyMod and i have added Block ingot Pickaxe etc and this is what happen when i try http://gyazo.com/7dc57d8bfc6712c6093cf9202de63890 Quote NEWB! in java im sorry
Xetapro12 Posted October 26, 2014 Author Posted October 26, 2014 U mean this : C:\RubyMod\src\main\resources\assets\textures\items and C:\RubyMod\src\main\resources\assets\textures\blocks Quote NEWB! in java im sorry
Eternaldoom Posted October 26, 2014 Posted October 26, 2014 Is should be assets/rubymod/textures, not assets/textures. Quote Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
Xetapro12 Posted October 26, 2014 Author Posted October 26, 2014 this is what i have done and you see better: https://www.youtube.com/watch?v=UQXsWjeW23A&feature=youtu.be Quote NEWB! in java im sorry
Eternaldoom Posted October 26, 2014 Posted October 26, 2014 1) The video is private. 2) Did it work or not? Quote Check out my mod, Realms of Chaos, here. If I helped you, be sure to press the "Thank You" button!
Xetapro12 Posted October 27, 2014 Author Posted October 27, 2014 Did not work here the link https://www.youtube.com/watch?v=UQXsWjeW23A&list=UUfNK2YXItZV72uubtuSJU8A Quote NEWB! in java im sorry
Matthbo Posted October 27, 2014 Posted October 27, 2014 you need to register like this: "modid : textureName" modid is the lower case modid the textureName is the name of the texture Quote
Xetapro12 Posted October 27, 2014 Author Posted October 27, 2014 Huh? this? @Mod(modid = RubyMod.MODID, version = RubyMod.VERSION) public class RubyMod { public static final String MODID = "Ruby Mod"; public static final String VERSION = "1.7.2"; Quote NEWB! in java im sorry
Matthbo Posted October 27, 2014 Posted October 27, 2014 for example: @SideOnly(Side.CLIENT) public void registerIcons(IIconRegister reg){ this.itemIcon = reg.registerIcon("ruby mod : rubypickaxe"); } Quote
Xetapro12 Posted October 27, 2014 Author Posted October 27, 2014 This is one om my block RubyOre package com.Ruby.RubyMod; import java.util.Random; import net.minecraft.block.Block; import net.minecraft.block.material.Material; import net.minecraft.client.renderer.texture.IIconRegister; import net.minecraft.creativetab.CreativeTabs; import net.minecraft.item.Item; public class RubyOre extends Block { public RubyOre(int id, Material mat){ super(mat); this.setCreativeTab(CreativeTabs.tabBlock); } @Override public void registerBlockIcons(IIconRegister p_149651_1_) { this.blockIcon = p_149651_1_.registerIcon("Ruby:oreRuby"); } public Item func_149650_a(int par1, Random rand, int par2){ return RubyMod.RubyIngot; } } What cna i do diff here? Btw add me on skype Xetapro12 if u want to conntact me other ways Quote NEWB! in java im sorry
Matthbo Posted October 27, 2014 Posted October 27, 2014 this.blockIcon = p_149651_1_.registerIcon("Ruby:oreRuby"); 'Ruby' needs to change to 'rubymod' since that's the modID: @Override public void registerBlockIcons(IIconRegister p_149651_1_) { this.blockIcon = p_149651_1_.registerIcon("rubymod:oreRuby"); } Quote
Bugzoo Posted October 27, 2014 Posted October 27, 2014 you dont use the registerBlockIcon() method in 1.7, but if your using 1.6, then update Quote
Xetapro12 Posted October 27, 2014 Author Posted October 27, 2014 This is 1.7.2 Quote NEWB! in java im sorry
Xetapro12 Posted October 27, 2014 Author Posted October 27, 2014 OMG THANKS!!!! IM SO DERP! Quote NEWB! in java im sorry
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.