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

The following are Jave code examples for showing how to use egg() 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.
Example 1
Project: BaseClient   File: EntityZombie.java   Source Code and License Vote up 4 votes
protected boolean func_175448_a(ItemStack stack)
{
    return stack.getItem() == Items.egg && this.isChild() && this.isRiding() ? false : super.func_175448_a(stack);
}
 
Example 2
Project: BaseClient   File: EntityZombie.java   Source Code and License Vote up 4 votes
protected boolean func_175448_a(ItemStack stack)
{
    return stack.getItem() == Items.egg && this.isChild() && this.isRiding() ? false : super.func_175448_a(stack);
}