Java Code Examples for net.minecraft.init.Blocks.lit_pumpkin()

The following are Jave code examples for showing how to use lit_pumpkin() of the net.minecraft.init.Blocks 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: BlockPumpkin.java   Source Code and License Vote up 4 votes
public boolean apply(IBlockState p_apply_1_)
{
    return p_apply_1_ != null && (p_apply_1_.getBlock() == Blocks.pumpkin || p_apply_1_.getBlock() == Blocks.lit_pumpkin);
}
 
Example 2
Project: BaseClient   File: BlockPumpkin.java   Source Code and License Vote up 4 votes
public boolean apply(IBlockState p_apply_1_)
{
    return p_apply_1_ != null && (p_apply_1_.getBlock() == Blocks.pumpkin || p_apply_1_.getBlock() == Blocks.lit_pumpkin);
}