content: package zmaster587.advancedRocketry.block;
  
  import net.minecraft.block.BlockDoor;
  import net.minecraft.block.material.Material;
  import net.minecraft.block.state.IBlockState;
  import net.minecraft.entity.player.EntityPlayer;
  import net.minecraft.init.Items;
  import net.minecraft.item.Item;
  import net.minecraft.item.ItemStack;
  import net.minecraft.util.EnumFacing;
  import net.minecraft.util.EnumHand;
  import net.minecraft.util.math.BlockPos;
  import net.minecraft.world.World;
  import net.minecraftforge.fml.relauncher.Side;
  import net.minecraftforge.fml.relauncher.SideOnly;
  import zmaster587.advancedRocketry.api.AdvancedRocketryItems;
  
  import javax.annotation.Nonnull;
  import javax.annotation.ParametersAreNullableByDefault;
  import java.util.Random;
  
  public class BlockDoor2 extends BlockDoor {
  
  	public BlockDoor2(Material p_i45402_1_) {
  		super(p_i45402_1_);
  	}
  
  	@SideOnly(Side.CLIENT)
  	@Override
  	@Nonnull
  	public ItemStack getItem(World worldIn, BlockPos pos, IBlockState state) {
  		return new ItemStack(AdvancedRocketryItems.itemSmallAirlockDoor);
  	}
  
  
  	@Override
  	@Nonnull
  	public Item getItemDropped(IBlockState state, Random rand, int fortune) {
  		return state.getValue(HALF) == BlockDoor.EnumDoorHalf.UPPER ? Items.AIR : AdvancedRocketryItems.itemSmallAirlockDoor;
  	}
  
  	@Override
  	@ParametersAreNullableByDefault
  	public boolean onBlockActivated(World worldIn, BlockPos pos,
  			IBlockState state, EntityPlayer playerIn, EnumHand hand, EnumFacing side, float hitX, float hitY,
  			float hitZ) {
  		return false;
  	}
  }
  