Java Code Examples for net.minecraft.init.Blocks.DAYLIGHT_DETECTOR

The following are Jave code examples for showing how to use DAYLIGHT_DETECTOR 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: Backmemed   File: BlockDaylightDetector.java   View Source Code Vote up 4 votes
public ItemStack getItem(World worldIn, BlockPos pos, IBlockState state)
{
    return new ItemStack(Blocks.DAYLIGHT_DETECTOR);
}
 
Example 2
Project: CustomWorldGen   File: BlockDaylightDetector.java   View Source Code Vote up 4 votes
public ItemStack getItem(World worldIn, BlockPos pos, IBlockState state)
{
    return new ItemStack(Blocks.DAYLIGHT_DETECTOR);
}