Java Code Examples for net.minecraft.init.Items.repeater()

The following are Jave code examples for showing how to use repeater() of the net.minecraft.init.Items class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: minecraft-quiverbow   File: PackedUpAA.java   View Source Code Vote up 5 votes
private void registerCommunicationRecipe()
{
	ItemStack[] input = new ItemStack[3];
	
	input[0] = new ItemStack(this);
	input[1] = new ItemStack(Item.getItemFromBlock(Blocks.jukebox));	// Add a jukebox
	input[2] = new ItemStack(Items.repeater);							// And a repeater to operate it
	        
       Helper.registerAAUpgradeRecipe(new ItemStack(this), input, "hasCommunicationUpgrade");
}
 
Example 2
Project: DecompiledMinecraft   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
/**
 * Get the Item that this Block should drop when harvested.
 */
public Item getItemDropped(IBlockState state, Random rand, int fortune)
{
    return Items.repeater;
}
 
Example 3
Project: DecompiledMinecraft   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
/**
 * Get the Item that this Block should drop when harvested.
 */
public Item getItemDropped(IBlockState state, Random rand, int fortune)
{
    return Items.repeater;
}
 
Example 4
Project: DecompiledMinecraft   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
public Item getItem(World worldIn, BlockPos pos)
{
    return Items.repeater;
}
 
Example 5
Project: BaseClient   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
/**
 * Get the Item that this Block should drop when harvested.
 */
public Item getItemDropped(IBlockState state, Random rand, int fortune)
{
    return Items.repeater;
}
 
Example 6
Project: BaseClient   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
public Item getItem(World worldIn, BlockPos pos)
{
    return Items.repeater;
}
 
Example 7
Project: BaseClient   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
/**
 * Get the Item that this Block should drop when harvested.
 */
public Item getItemDropped(IBlockState state, Random rand, int fortune)
{
    return Items.repeater;
}
 
Example 8
Project: BaseClient   File: BlockRedstoneRepeater.java   View Source Code Vote up 4 votes
public Item getItem(World worldIn, BlockPos pos)
{
    return Items.repeater;
}