
I redone where the items/blocsks are stored and how the configs are handled to clean up it and give space. You can change the config line to AWWayofTime if you want to keep the compatibility with old configs. Now you reference the blocks from the ModBlocks and Items from the ModItems.
22 lines
599 B
Java
22 lines
599 B
Java
package WayofTime.alchemicalWizardry.common.items;
|
|
|
|
import cpw.mods.fml.relauncher.Side;
|
|
import cpw.mods.fml.relauncher.SideOnly;
|
|
import net.minecraft.client.renderer.texture.IconRegister;
|
|
import net.minecraft.item.ItemBucket;
|
|
|
|
public class LifeBucket extends ItemBucket {
|
|
public LifeBucket(int par1, int par2)
|
|
{
|
|
super(par1, par2);
|
|
// TODO Auto-generated constructor stub
|
|
}
|
|
|
|
@Override
|
|
@SideOnly(Side.CLIENT)
|
|
public void registerIcons(IconRegister iconRegister)
|
|
{
|
|
this.itemIcon = iconRegister.registerIcon("AlchemicalWizardry:LifeBucket");
|
|
}
|
|
}
|