package info.u_team.u_team_core.api.registry;

import net.minecraft.item.BlockItem;

/**
 * This can be implemented in blocks to register them easier and get the block item.
 * 
 * @see IURegistryType
 */
public interface IUBlockRegistryType extends IURegistryType {
	
	/**
	 * Must return the same block item instance every time you call this method. The registry name will be set to the name
	 * from the block. Can return null for no block item.
	 * 
	 * @return Block item instance
	 */
	public BlockItem getBlockItem();
}

package info.u_team.u_team_core.api.registry;

import net.minecraft.item.BlockItem;

/**
 * This can be implemented in blocks to register them easier and get the block item.
 * 
 * @see IURegistryType
 */
public interface IUBlockRegistryType extends IURegistryType, IBlockItemProvider {
	
	/**
	 * Must return the same block item instance every time you call this method. The registry name will be set to the name
	 * from the block. Can return null for no block item.
	 * 
	 * @return Block item instance
	 */
	public BlockItem getBlockItem();
}

Implement IBlockItemProvider in IUBlockRegistryType for compatibility for now. Will be removed soon