protected BlockContainerSMT(
      String unlocName,
      Material mat,
      SoundType type,
      float hardness,
      Class<? extends TileEntity> te,
      int renderID) {
    super(unlocName, mat, type, hardness, renderID, te);
    String toolLevel = Utils.getToolClassFromMaterial(mat);

    if (!toolLevel.equals("none")) setHarvestLevel("pickaxe", Utils.getToolLevelFromMaterial(mat));

    setBlockName(unlocName);
    this.isBlockContainer = true;
  }
  @Override
  public void breakBlock(World world, int x, int y, int z, Block block, int meta) {
    if (!saveToItem()) {
      TileSMTInventory te = (TileSMTInventory) world.getTileEntity(x, y, z);
      for (int i = 0; i < te.getSizeInventory(); i++) {
        Utils.spawnItemInWorldWithRandomMotion(world, te.getStackInSlot(i), x, y, z);
      }
    }

    super.breakBlock(world, x, y, z, block, meta);
  }