Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Author

U mean this : C:\RubyMod\src\main\resources\assets\textures\items and C:\RubyMod\src\main\resources\assets\textures\blocks

NEWB! in java im sorry :/

Is should be assets/rubymod/textures, not assets/textures.

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

1) The video is private.

2) Did it work or not?

Check out my mod, Realms of Chaos, here.

 

If I helped you, be sure to press the "Thank You" button!

you need to register like this: "modid : textureName"

 

modid is the lower case modid

the textureName is the name of the texture

  • Author

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";

NEWB! in java im sorry :/

for example:

 

@SideOnly(Side.CLIENT)

public void registerIcons(IIconRegister reg){

    this.itemIcon = reg.registerIcon("ruby mod : rubypickaxe");

}

  • Author

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

NEWB! in java im sorry :/

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");
   }

you dont use the registerBlockIcon() method in 1.7, but if your using 1.6, then update

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.