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.
+ Save this method
Example 1
Project: DecompiledMinecraft   File: BlockPumpkin.java   View Source Code 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: DecompiledMinecraft   File: BlockPumpkin.java   View Source Code 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 3
Project: BaseClient   File: BlockPumpkin.java   View Source Code 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 4
Project: BaseClient   File: BlockPumpkin.java   View Source Code 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);
}