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

The following are Jave code examples for showing how to use melon_seeds() 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: DecompiledMinecraft   File: BlockStem.java   View Source Code Vote up 4 votes
protected Item getSeedItem()
{
    return this.crop == Blocks.pumpkin ? Items.pumpkin_seeds : (this.crop == Blocks.melon_block ? Items.melon_seeds : null);
}
 
Example 2
Project: DecompiledMinecraft   File: BlockStem.java   View Source Code Vote up 4 votes
protected Item getSeedItem()
{
    return this.crop == Blocks.pumpkin ? Items.pumpkin_seeds : (this.crop == Blocks.melon_block ? Items.melon_seeds : null);
}
 
Example 3
Project: BaseClient   File: BlockStem.java   View Source Code Vote up 4 votes
protected Item getSeedItem() {
	return this.crop == Blocks.pumpkin ? Items.pumpkin_seeds
			: (this.crop == Blocks.melon_block ? Items.melon_seeds : null);
}
 
Example 4
Project: BaseClient   File: BlockStem.java   View Source Code Vote up 4 votes
protected Item getSeedItem()
{
    return this.crop == Blocks.pumpkin ? Items.pumpkin_seeds : (this.crop == Blocks.melon_block ? Items.melon_seeds : null);
}